Store a simple int variable to a server on github pages

I have created an html file with an int variable that is uploaded to GitHub pages.

When the user clicks a button, the int value is changed by += 1, and the value is displayed with <p> </p>.

I am a beginner and want to save the int value to some sort of free server or database so the int variable stays the same across all users. How can I achieve this?