Update frequency method

 - Replace control-break logic with array_count_values()