to imagine that sheep are jumping over a fence and to count them, as a way of getting to sleep
COUNT SHEEP
Meaning of COUNT SHEEP in English
Oxford Advanced Learner's English Dictionary. Оксфордский английский словарь для изучающик язык на продвинутом уровне. 2005