count the words sperately and then aggregate them