Water Flow sensor

Can anyone please help me i can not save value of total liters in eeprom,the main problem it read and writing while arduino mega working but if power of the value saved in eeprom go back to 0 becuse the counter puls starting from 0

Please continue your old thread instead of starting all over (and you also either still didn't read the sticky or you're simply ignoring the advice given in it - which is a key reason you don't get the help you want).