Elasticsearch: total term frequency and doc count from given set of documents

Since you have the term_freq per term per document in the response, it should be straightforward to derive the total term frequency for each term (just sum up the term_freq of each document/term) and the doc count is just the number of documents in the response that contain the term.