Counting sheep is a traditional method for going to sleep.