# Elastic \_count returns incorrect count?

**URL:** <https://discuss.elastic.co/t/elastic-count-returns-incorrect-count/256545>\
**Category:** Elasticsearch\
**Created:** [November 24, 2020, 5:04pm UTC](https://discuss.elastic.co/t/elastic-count-returns-incorrect-count/256545 "2020-11-24T17:04:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![witchlightning](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/witchlightning/32/71962_2.png) [@witchlightning](https://discuss.elastic.co/u/witchlightning)\
**Post date:** [November 24, 2020, 5:04pm UTC](https://discuss.elastic.co/t/elastic-count-returns-incorrect-count/256545/1 "2020-11-24T17:04:28Z")

</div>

I just added a bunch of documents to my index but when I run a count query I see that the count hasn't changed. I've queried the index and seen that the new documents have been added. Here's the query:

`GET /listings/_count?q=type:long`

What do I need to do to get the right count?

---

<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:** [December 22, 2020, 5:04pm UTC](https://discuss.elastic.co/t/elastic-count-returns-incorrect-count/256545/2 "2020-12-22T17:04:34Z")

</div>

Closed on December 22, 2020, 5:04pm UTC

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