Counting Sheep solutions

Counting Sheep was solved using Groovy by 25 contestants. Solution sizes: average 1347 bytes (shortest: 474; longest: 4332).

The list below is sorted by ranking. You can also sort by solution size.