code: public int getTotalDocuments() {
      try {
        final int totalDocs = _jsonObject.getJSONObject(META_OBJECT_FIELD).getInt("total_count");
        return totalDocs;
      } catch (JSONException ex) {
        throw new QuandlRuntimeException("Could not find total_count field in results from Quandl", ex);
      }
    }
docs: Get the total number of documents in this result set. Throws a QuandlRuntimeException if Quandl response doesn't contain this field,
  although it should.
  
  @return the total number of documents in this result set