Measuring frequency?

It’s been asked a few times, I think - but I cannot find a definitive answer.

Is there an easy way of measuring frequency on a digital input up to say a few 1000Hz? (Or even lower - ie a few 100Hz - would be OK in many applications.)

A custom node would be very useful in industrial and automotive control.