Added TapCounter class + tests