Counting pulses and using them

could be , time, like 5 seconds to count pulses and save the number of pulses and just blink the LED same number times