Count how many times was pressed a button

Hello. I have this circuit:
I want to have a counter that must increase in 1 his value each time i press the button

How can i do this? some code?

Thanks and sorry for my basic English

Hello, look at the bottom of the page you linked.