There are several possibilities. Which one is best depends on what you are after exactly.
You can for example create a send value to Hardware function, set the option "suggest current value", and define the value for set value to "1". Each time the function is executed, the value of the variable will incremented by 1.