Answer

Since all of the animals are on the bed

and no other furniture is mentioned in the room,

there are 6 legs on the floor.

4 legs from the bed and your own

2 legs as you stand in the room.