How to have a hidden counter?

So, I have this idea, that the player uses a object in the world. There are, let's say 10 of these objects in the world, common objects, like, maybe a well.

Is there any way to keep count without making a dozen events on how many the player has gone too?

Like if I want to say end game, reference back that the player successfully found all 10 wells, and then something special unlocks, is there a way to do this? (I don't use any plug ins/etc as I still don't quite understand how they work, so it's just RPG maker MV)
You just need to have the event add 1 to a variable the first time they encounter it. Just make sure to make a second page, without adding to that variable, so that it doesn't keep adding to it if they trigger the same well more than once.
See my image below it's 1 event in between 3 stones.. the player touches each stone. the game counts the 3 then a chest appears. simular to what i think your looking for.. so like mlogan said add a variable..

So in my main event i made a variable switch ( stone 1 ) and made it equal to or more than the count of 3 ( since there is 3 stones ).



1603081241443.png




In the second image below this is the event i placed on the stones them selfs as you can see they have the control variable ( stone 1 ) hope this helps with your scenario.

1603081378765.png
@Kazhang
as the posters above said, you'll need to use variables for this.

control variables is one of the most powerfull (and complex) commands available in the makers, and as you found out it is basically impossible to do any quest more complex than a "go there" without variables, because only with variables you can count.

And that command is not something you can learn without help.
If you follow the link to the "starting point" in my signature, you'll find several tutorials that will help you get the basics, especially the "variables guide" game and several eventing tutorial games.

Please take the time to really work through them - your game will be much easier to develop after that.
Thank you. Yeah a lot of it is just kind of learning. Not trying to make a full game obviously, more kind of just, learning stuff as I go. I will look at the starting point @Andar, appreciated! Also yeah did some testing with the variables and got it working! Thank you all so much.

Solved.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-have-a-hidden-counter.128868/