Thinking about the side effects, much simpler would be to reset the counter each time an actual mount occurs.
Thinking about the side effects, much simpler would be to reset the counter each time an actual mount occurs.