Do you consume lots of caffeine, or just sleep poorly? This Counting Sheep is a exercise, where you have to drag identical white sheep over the bridge (while they are doing backflips). The idea, presumably, is to induce boredom while occupying the mind with something simple, repetitive, and rhythmic, all of which are known to help humans sleep.

http://forum.xda-developers.com/showthread.php?t=716586