title: Possible to get the size of an Elasticsearch index through Java API?
body: <p>I have been trying to get the size of my Elasticsearch index through the Java API, and I have not been able to find the right call to accomplish this.  I found some suggestions like this one (<a href="https://groups.google.com/forum/#!topic/elasticsearch/jNCjCqAS1us" rel="nofollow">https://groups.google.com/forum/#!topic/elasticsearch/jNCjCqAS1us</a>), but it is from 2012 and seems to no longer be relevant.</p>
  
  <p>I have been able to get an <code>IndicesStatsResponse</code> the following way:</p>
  
  <pre><code>IndicesStatsResponse response = client.admin().indices()
          .prepareStats(makeIndexName(tenant.getId()))
          .clear()
          .setStore(true)
          .execute()
          .actionGet();
  </code></pre>
  
  <p>but from this point I cannot find the information that I need.  Is this possible?</p>