Pulse and frequency counting using direct input on Timer1