Is it possible to count hardware event instances? For example an accelerometer interrupt or reed switch is triggered, some logic is executed and the event ends. I am wanting to know how many times this occurs over a given time period. I tried to create a new list and add a counter byte to a list but you can only do this within the event so the next time the event occurs it just creates a new list.