If you do buy a cadence sensor, buy the version where you put a magnet on the crank arm and sensor on the stay.  The non magnetic versions whilst being neater in package are susceptible to road vibrations and can give odd readings.  I had this on my TT bike, I couldn't tell with accuracy what my cadence was, so went back to the older design-now I have reliable numbers without the cadence jumping all over the place