This one time when I was spamming shoot and reload at the same time, suddenly the counter kept going up:
Probably a ">= 100" instead of a "==100" will do the trick.
I was more careful not to spam so much and it never happened again.