generated global frequency count