calculate button press count and output number to label