# Get total no. of buckets using composite aggregation

**URL:** https://discuss.elastic.co/t/get-total-no-of-buckets-using-composite-aggregation/261607
**Category:** Elasticsearch
**Created:** [January 20, 2021, 1:25am UTC](https://discuss.elastic.co/t/get-total-no-of-buckets-using-composite-aggregation/261607 "2021-01-20T01:25:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![shreedhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shreedhan/32/46350_2.png) [@shreedhan](https://discuss.elastic.co/u/shreedhan)
#### Post date: [January 20, 2021, 1:25am UTC](https://discuss.elastic.co/t/get-total-no-of-buckets-using-composite-aggregation/261607/1 "2021-01-20T01:25:37Z")

</div>

Is there a way to get total no. of buckets using composite aggregation. I see there's a question asked almost 2 years ago [Composite aggregation buckets total count](https://discuss.elastic.co/t/composite-aggregation-buckets-total-count/137156/2). Has this changed? Or is there a plan to add this functionality?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [February 17, 2021, 1:25am UTC](https://discuss.elastic.co/t/get-total-no-of-buckets-using-composite-aggregation/261607/2 "2021-02-17T01:25:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
