@BeAware
Aaaand: While counting sheep sucks for me, imagining tiles that count in binary does wonders for me. Getting past 127 is very uncomfortable but that's often when I doze off anyway.
Sometimes realizing that brings me right back but then I can count again :) Also, counting backwards from 100 or 1000 (in decimal) calms me down.
When all this fails it's still lights on and Steam Deck on the countryside time, though.
It's also very justified to call in a sick day when brain won't sleep.