my LCD wont reset the count properly. please help.

I didn't download your program to see how you handle the LCD data. Only print to the LCD if the value has changed. Saves a lot of blinking on the LCD.

Paul