Measures frequency correctly