The King Who Wouldn't Sleep takes this to the extreme.
With a daughter at a ripe marriage age, the king does not even own a bed; he refuses to sleep until he finds the perfect prince for his daughter. He meets princes of all shapes, sizes, and with varying amounts of hair. Yet none of them fit the bill. When the princes plot to lull the king with teddy bears, bedtime stories, and songs, they only succeed in putting the kitchen staff to sleep.
Then along comes a clever farm boy, who brings the king "ten" new animals as gifts each day. However, there are never actually ten animals and the king becomes frustrated. When the farmer brings the king one hundred sheep, doubting the farmers ability to count, the king insists on counting the sheep himself. Thus, he falls into a deep slumber. I think you can guess what happens with the princess and the farmer - they all sleep peacefully ever after.
This book is rife with wonderful usage of early literacy skills for your little one and humor to keep any grown-up giggling. The illustrations are bright, colorful, and fun. If you are interested in more sleepy-time books for your little one that won't have you snoozing half way through, you might also try Lemony Snicket's The Dark or Creepy Monsters, Sleepy Monsters by Jane Yolen (of How Do Dinosaurs Say Goodnight? fame).