Click the button to see the counter increase.

Close the app, and try again, and the counter will continue to count (is not reset).