Why is the Counter not showing the calculated value of frequency according to the resistor and capacitor