How to make a global counter of the times a button being pressed?

Hello, I am trying to create a popcat clicker-esque game and I could not figure how to make a total clicker counter like the leaderboard of popcat. I try using the leaderboard function but that did not lead me anywhere. I don’t need the analytics of which country contributed the most clicks.

It is possible to recreate a similar global counter with gdevelop?

Create a global variable.
Increase the global varible every time a click happens.

You now have a global counter of the number of times a click has happened. You can display it with a text object or however you like. You can save that total using storage actions (see the save/load examples in the engine)

If you are wanting to share it outside of the current running game, your best bet is still the leaderboard system.