use countBy() in word-count