You enter a room. 2 dogs, 4 horses, 1 giraffe, and a duck are lying on the bed. 3 chickens are flying over a chair.

How many legs are on the ground?