Counting Sheep solutions

Counting Sheep was solved using Ruby by 734 contestants. Solution sizes: average 605 bytes (shortest: 192; longest: 2553).

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