Hint: Remember that there are an equal number of each animal.
Answer: 102 animals: 34 of each.
As there are the same number of each animal, for every ant, spider and mouse we have 18 legs.
612 ÷ 18 = 34 of each animal.
Which gives a total of 34 x 3 = 102 animals. QED.