If yours has something that goes round you can put a reflective optical switch on it and count the pulses.