Shift light for Diesel Engine

Hello all, I'm very new to Arduino. I'm trying to build a shift light for a diesel engine. I want to use the existing tachometer sensor of the diesel pump to measure the RPM. Can anyone help me to achieve this? And how to do it is what I need. Thanks in advance.