Kata to compute the most frequent words from a list