Counting pulses and using them

alfguardia:
I need that while I give the pulses, just record the amount of pulses, then in another part of the sketch that blinks the number of times that pulses

Huh?