Created counter class. Tested button