findOffspring function

Finds the number of total offspring for each animal in the provided pedigree.