Counting Sheep solutions

Counting Sheep was solved using MATLAB by 93 contestants. Solution sizes: average 1064 bytes (shortest: 431; longest: 3198).

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