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

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.