added individual word counts to output