Another feature of newer PIC microcontrollers is the Timer1 Gate feature. Timer1 will increment when its gate is active.
When your input signal is low, you can configure the Timer1 Gate to increment when the incoming signal is high, wait for the signal to go high (allowing the Timer to increment) and then wait until it is low again. The value in the Timer1 registers will be the number of counts while the signal was high.