Thread drift....I think the OP already has the counter, switches and pumps.
OP: What is an "analog counter" (almost an oxymoron)
Assuming it's an old-school mechanical digital counter that increments by one each time power is applied you can connect it to the switched side of each pump circuit through a diode. The cathode (bar) of the two diodes would connect to the counter + terminal. Each anode (arrow) to each pump positive. The counter - goes to pump common, battery
It will fail to increment if the second pump starts while the first is running. Probably minor.
Not knowing anything about the parts
, I'd get plastic axial leaded rectifier diodes rated at 5A and 50 volts. Wire it all up neatly on a terminal strip.
One could use an hour meter too...interesting. I judge these things by how wet my feet get in the morning. "Honey, I can't read the counter, hand me the mask and snorkle."