Create a global variable that will increment by 1 each time the macro is run

Here the solution simple add in front of var name global

Global var is a regular variable that expires when you close browser only