I made something like this once just using a couple or resistors, capacitor and relay: resistor - capacitor to GND - NPN transistor base (emitter to GND, collector to relay to VCC).
For your application, without using MCUs, counters or other digital logic, you will probably need a capacitor; you just have to make the circuit in a way that the capacitor charges through a large value resistor but discharges through a very low resistance, maybe using a transistor to pull the top side of the cap to ground when input is low, or using a diode in parallel with the charge resistor, if your input is not open-collector type.