one of my counter
Could you give the name of the variable you are talking about?
Also try debugging the code by adding a print statement that prints the value of the variable every time its value is changed. The print out should help you find the problem.