You need to understand the code you write. Precisely, what count means and how it differs from pressCount.
Then you need to think about exact meaning of "press Enter twice". If you press Enter and wait 24 hours before pressing Enter second time, will it be two "single presses" or a single "press twice"? Your code tells me the second is true. Now you tell yourself whether it is.