what input pin is it using?

better?

No try:-

rpmcount++;