Click the button to increase the counter. Click the flag to reset. Unbelievably simple, but good if you need to count stuff.
I made this to count my fishing chain in Pokemon X. Going for a shiny Magikarp.