If your Arduino program turns on the pump then just add a line of code to increment a variable every time the pump is turned on. Something like
pumpCount ++;
If you need to remember the value if the Arduino shuts down then you would need to write the data to the Arduino's EEPROM memory. Just be aware that an EEPROM memory location has a finite number of write cycles (100,000 IIRC)
...R