@perchance Variable never resetting at refresh

Hi! I’m using a variable to count elements in my generator but every time I generate a new character, the counter’s value carries on from the previous one. Is there a function to reset it (I set it to 0 at the beginning of the file)