This program can be adapted to hardware to count slow events. Use the knob on the front panel to 'trigger' and the counter increments by one value.