I am not sure how I am messing this up

The code seems to run fine but the only thing that increments is Tu
I confirmed the connection to pin 4 has 5V on it and even pulled it out/stuck it back in several times to replicate pulses...nada
Is there some dependency on the lightning code I am missing?