Sounds like pretty good english to me.
Here's an easy way to count the Time.
Elapsed Timer Demo
http://www.picbasic.co.uk/forum/showthread.php?t=190
Then you can count the speed pulses with TMR0 using the T0CKI input. No interrupts required there, just polling.
<br>
Bookmarks