Button count reset

Mike code is what i want it to do however when i put it in the code wasn't able to be verified. Cheers mike anyway