IDIOMS

count sheep

(idiomatic) To attempt to go to sleep by thinking of something boring, traditionally by counting imaginary sheep.