Counting Sheep solutions

Counting Sheep was solved using Erlang by 7 contestants. Solution sizes: average 1455 bytes (shortest: 613; longest: 1963).