jellis00, You know that the returned value from COUNT is a 16 bit value? I see you are only writing 1 byte of it to eeprom.. That limits the reading stored to 0 to 255 counts.. And its only the lower byte so it will roll over up to 255 times...

Dave Purola,
N8NTA