MV How can i make an event activate after i complete all the fire out?

I'm trying for an npc to thank the player for setting off the fire, with there being 3 fire sprites that can be set off.
How do i make it so after the player sets off all the fire, the event where the npcs thanks the player happens
1763750515795.png
?

this is how the scene looks if someone who can help me needs it visualized.
How do i make it so after the player sets off all the fire, the event where the npcs thanks the player happens
start by setting a variable to 0, have each fire increase the variable by 1, and then have the final event play when the variable is greater than or equal to 3
start by setting a variable to 0, have each fire increase the variable by 1, and then have the final event play when the variable is greater than or equal to 3
Many thanks, i was stumped on this for a while and didn't know where to look for solution.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-an-event-activate-after-i-complete-all-the-fire-out.181125/