add the count_freq utils