Verb
count sheep (third-person singular simple present counts sheep, present participle counting sheep, simple past and past participle counted sheep)
(idiomatic) To attempt to go to sleep by thinking of something boring, traditionally by counting imaginary sheep.
A reporter asked recently, 'What keeps you up at night?' I replied that I generally sleep well, but if I ever do have trouble, I don't have to count sheep. I count all the states I'm glad I'm not the governor of. Mitch McConnell