Arduino detect power loss

Hi, Friends I am making a project on arduino it's rotary counter which counts data every time but the problem is that the storage of EEPROM is limited write ability so I can not write data in EEPROM on every count because there are 2500 counts in a day so I want to use capacitor and want to save data when Arduino detect power loss for this can you please help me to find how can I make that also I want diagram of wiring that how can I use Capacitor if you can help me I will be thankful of you,

@hbachetti has posted in French a good tutorial on doing just this in his blog.

I'm pretty sure google translate will give you a good enough translation so that you can implement this