Counts total word frequencies in each document
ruleWordCount(dtm)
dtm
Document-term matrix
Total number of words