character frequency count complete