Improved the count update
Messed with interrupts to try to fix serial comm