I've done that too, and boy was I tired. I walked around one day thinking "Did I take the pill, or didn't I?", and apparently I did.
So to avoid that problem, I dole out the pills I'll need during the day and place them in a bottle. This is part of my morning routine, and I do this before I take my first dose.
As I take each pill, I know that I haven't taken too many because there's only a certain number of pills in the bottle at any given time. When the bottle is empty, it's time for bed.
John