Seems like you should look and play around with http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-facets-terms-stats-facet.html value field will be date key field will be _parent
I suppose, it should return max, min, count, etc. (read docs) for each _parent, but you must play with it