# How to get the count of particular index

**URL:** <https://discuss.elastic.co/t/how-to-get-the-count-of-particular-index/149451>\
**Category:** Elasticsearch\
**Created:** [September 21, 2018, 12:41pm UTC](https://discuss.elastic.co/t/how-to-get-the-count-of-particular-index/149451 "2018-09-21T12:41:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnrabi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/johnrabi/32/67223_2.png) [@johnrabi](https://discuss.elastic.co/u/johnrabi)\
**Post date:** [September 21, 2018, 12:41pm UTC](https://discuss.elastic.co/t/how-to-get-the-count-of-particular-index/149451/1 "2018-09-21T12:41:16Z")

</div>

Hi,

can anyone help me how to resolve this issue?  
langulage :Java  
i am having one index named like test, in one API  
i have indexed some records after the need to return the totalcount of index ?

Thanks in advance

---

<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:** [October 19, 2018, 12:41pm UTC](https://discuss.elastic.co/t/how-to-get-the-count-of-particular-index/149451/2 "2018-10-19T12:41:19Z")

</div>

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