# Post count does not set to zero after deleting post and topic

**URL:** https://meta.discourse.org/t/post-count-does-not-set-to-zero-after-deleting-post-and-topic/176135
**Category:** Feature
**Created:** [January 14, 2021, 7:41pm UTC](https://meta.discourse.org/t/post-count-does-not-set-to-zero-after-deleting-post-and-topic/176135 "2021-01-14T19:41:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sdiscourse](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@sdiscourse](https://meta.discourse.org/u/sdiscourse)
#### Post date: [January 14, 2021, 7:41pm UTC](https://meta.discourse.org/t/post-count-does-not-set-to-zero-after-deleting-post-and-topic/176135/1 "2021-01-14T19:41:07Z")

</div>

After deleting all posts for a topic. In site.json I see post\_count = 20 for a particular category. It should have been set to zero if I have deleted all the posts and the topic as well.  
Appreciate any suggestions on how to fix this.
