Many thanks to EricW, who sent me two PICs. No, not of the

type, but 1-2-3 counters. One of them counts the slow revs of the gas meter, the other has to deal with shorter and more frequent flashes on a 'leccy meter.
Our gas meter has a magnet incorporated into the last roller. Thank you to whoever came up with the "just hold a little compass next to the meter to find the magnet" idea! KenB then mentioned Hall effect sensors to pick up the signal. I found one that incorporates a Schmitt-trigger (Allegro A3214EUA-T, bought from Rapid, but they don't seem to stock it atm), and thus produces nice clean pulses. The output goes low when the magnet is near. And it works with a 5V power supply. Eric's PIC then needs a pull-up resistor (10kOhm), and I put a capacitor (100nF) between the input pins of the PIC (2+3) and ground to catch any noise. Everything goes onto a tiny piece of strip board, with screw terminals for the sensor and one-wire cable.
A similar arrangement works for the LED on the 'leccy meter. Here, the sensor is an LDR, blue-tacked onto the meter, which also seals the sensor against ambient light. The flashes are quite short, so I had to change the RC-circuit to 100kOhm and 10nF.
The first thing was to test whether the counted pulses agree with the meter readings. See the attached plots for a calibration curve. The gas meter produces 100pulses per cube meter (last dial is for 1 litre, full rev is 10L), whereas the electricity meter issues 800flashes per kWh.
Now I'll need to monitor the set-up for some time to make sure it's long term stable. I'll report back...
In the meantime, the counters are incorporated into my 1-wire network, read via owserver which runs on a NLSU2 (a.k.a. slug), saved into an SQLite database, and in parallel are read by munin to produce rolling daily and weekly graphs.
Klaus