get all words and count occurances of each one