count all words in multiple files and print out by the rate