Counting Sheep solutions

Counting Sheep was solved using Scala by 251 contestants. Solution sizes: average 1090 bytes (shortest: 432; longest: 7493).

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