Counting pulses and using them

sorry for my english =´D

I wanted to say, I need to store the counted pulses and then the LED will blinking the number of times that i pressed