count_freqs function

Get counts of each letter in the target