Counting Sheep solutions

Counting Sheep was solved using Q by 3 contestants. Solution sizes: average 387 bytes (shortest: 276; longest: 512).