I have never encountered such behaviour and have emptied few cans of spray on it in the past. This device is old few years, maybe new versions of devices have such thing but not old ones?
I did find what appeared to be two versions of this dispenser online, with different electronics.
If the counter is an issue, it may be just a matter of routing the output to the LED to the input for the reset button. Light goes on and it thinks the button's been pressed. Might need a simple transistor switch to reverse the polarity, I don't know.
I wish I had one to experiment on now. And I am kicking myself remembering all of these I've seen at garage sales for $1.00 or less. One had four for sale.