I want to increase to a number every time the trigger component runs

https://discourse.mcneel.com/search?expanded=true&q=python%20counter%20%40Joseph_Oster

Despite the thread title, this is Python.