Counting Sheep solutions

Counting Sheep was solved using PHP by 342 contestants. Solution sizes: average 1006 bytes (shortest: 401; longest: 3652).

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