Basic input watching and bit counter