# Get the counts at each levels in a tree like document structure

**URL:** <https://discuss.elastic.co/t/get-the-counts-at-each-levels-in-a-tree-like-document-structure/139533>\
**Category:** Elasticsearch\
**Created:** [July 11, 2018, 10:11am UTC](https://discuss.elastic.co/t/get-the-counts-at-each-levels-in-a-tree-like-document-structure/139533 "2018-07-11T10:11:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 11, 2018, 10:12am UTC](https://discuss.elastic.co/t/get-the-counts-at-each-levels-in-a-tree-like-document-structure/139533/2 "2018-07-11T10:12:10Z")

</div>

Please don't post the same question more than once, it makes it harder for people to help.

Let's continue the discussion in [Get the count in a tree like structure of items](https://discuss.elastic.co/t/get-the-count-in-a-tree-like-structure-of-items/139532)

---

_[View the full topic](https://discuss.elastic.co/t/get-the-counts-at-each-levels-in-a-tree-like-document-structure/139533)._
