Counting Sheep solutions

Counting Sheep was solved using bc by 3 contestants. Solution sizes: average 431 bytes (shortest: 393; longest: 503).