Generates word counts for articles