On a night that he can't sleep, Tom begins to count sheep who promptly go to sleep on his bedroom floor, except for one that leads him on a variety of numerical adventures.