Is the frequency you are trying to measure stable? The reason I ask, is that you precondition your input with a divide-by-20 frequency divider. Any frequency fluctuations will be averaged across 20 input cycles.
If you share your project, I will try to reproduce your results.
Len "Engineering is an Art. The Art of Compromise."