curl -XPOST "http://XXXXX:9200/your index/your type/_search?pretty" -d "{\"size\":0,\"aggs\":{\"max_rCount\":{\"max\":{\"field\":\"rCOunt\"}}}}"