If it's supposed to go to a coil -ve, then the counter may well be expecting a high voltage (ie 350v or more) signal caused as the magnetic field breaks down. In this case, the voltage must be duplicated with an inductive pullup - naturally, diode protection should be used to protect the ECU.