Square pulse wave with a delay and a certain length

Count pulses, do something then

what resets the whole thing? Do you literally only want to see the inputs and make one square wave, then do nothing for the rest of all time?

More specific description please.

a7