Decrease rigidbody2D velocity per object attached to parent

I want to make the velocity of my Player to decrease based on how many object(Child) attached to it. here’s my code so far, but this one just sets the velocity to a certain amount, I want it to decrease 1f per oject(Child) attached:

	if (!dead)
	{
		if(transform.Find("Enemy2")){
			Vector2 newVelocity = rigidbody2D.velocity;
			newVelocity.x = 1.5f;
			rigidbody2D.velocity = newVelocity;

		}else{
			Vector2 newVelocity = rigidbody2D.velocity;
			newVelocity.x = forwardMovementSpeed;
			rigidbody2D.velocity = newVelocity;

		}

Do something like this then:

newVelocity.x -= 1f * transform.childCount;