Accumulation counter for walking experiment

I count at the entry
I count at the exit