resettable counter

Do I understand correctly.

IP1 goes active, start injecting and count injection pulses on IP2.
After N pulses stop injecting.
If power fails stop injecting.

Is that the guts of the matter?


Rob