Counting Sheep solutions

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

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