Definition
To attempt to go to sleep by thinking of something boring, traditionally by counting imaginary sheep.
How People Actually Use It
Don't assume you have won before the results are in.
""Ive aced that test!" "Don't count your sheep before the shepherd's market""
Source: Urban Dictionary