A memory button

Is it possible to make a button and then upload to the web. After uploaded, if someone had clicked on the button, it will records in the animation bottom corner itself like number 1. So another goes to the animation and click on the button, the number increase by 1 and become 2.

Just like it has memory, when it opens and click on it, it closed. When next time it opens, it can take out the number it recorded last time in the webpage itself, can i do that?