Takes input file, counts the number of words and returns total, then returns the top 10 most frequent words.