Convert from an input pulse frequency to output another in near real time?

It's CD4089