Let N be the size of the entire flock. Solve for N:

.

If you'd posted in the Probability and Statistics subforum with a title like "Find the Best Estimate" I'd probably give a justification as to why (after making some assumptions) equating the ratios leads to the best estimate.