Add note and counter for the harmonic analysis loop.