Set Timer 2 to 16-bit Auto reload mode ..
se Timer2 interrupt and select a value for RCAP2L/RCAP2H that gives a nice timer "tick" - e.g. 10 ms would give you an interrupt rate of 100/s ..
Then you can count 100 interrupts to get 1/s or as much as you think the response time should be ..