Friendly mobs, such as sheep, pigs, cows and chickens can only spawn in groups of 4, no less, no more. Larger numbers only occur if two or more groups spawn in near proximity. This can be best observed in Superflat Worlds.