count words as well as individual messages