I am looking for a HW for counting pulses and after N pulses relay become energised for T sec , KC23C01 can do it ? Answer : yes , it can