There are rabbits and eagles in a zoo. There are 29 heads and legs in total. How many animals are there?