sums character freq