I have observed the same with my little diesel pickup truck. Takes 20 or 30 seconds after being parked for hours in the cold. Takes 5 or 6 seconds if I've made a quick stop on the way home.If an engine has been inactive and the weather is cold, it may require 30 to 40 seconds for the glow plugs to heat up sufficiently. However, if the engine has already been warmed up, the glow plugs may require little or no time to heat.
I know PIC is an easy solution but the easiest is the PLC because you don't need to make a pcb board (just wiring). Have you ever used a PIC?It works on ltspice, didn't build anything yet. If you have the simulator i can post schematic in here. If not i may need your help to get me starting with the counter. This one i made is incrementing only once the steps are all done. Have no feedback yet from the engine tho. Pic would be the easier and cheaper way to make it!