Pump stroke and rotor RPM sensor