PulseCounter

Counts the number of times the input signal has gone from low to high since the last reset.