A frequency counter based mostly on 7400 and cmos logic.