Create freqcounter