adding word counts and paragraph counts to aggregation