When I have trouble sleeping, of all the things I've tried, counting backwards from 200 (visualizing each number as I count) works the best, after blanking my mind.