# Reply count on blog comments off by one

**URL:** <https://meta.discourse.org/t/reply-count-on-blog-comments-off-by-one/188402>\
**Category:** Bug\
**Created:** [April 28, 2021, 5:00pm UTC](https://meta.discourse.org/t/reply-count-on-blog-comments-off-by-one/188402 "2021-04-28T17:00:19Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jericson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jericson/32/116215_2.png) [@jericson](https://meta.discourse.org/u/jericson)\
**Post date:** [April 28, 2021, 5:00pm UTC](https://meta.discourse.org/t/reply-count-on-blog-comments-off-by-one/188402/1 "2021-04-28T17:00:19Z")

</div>

I recently set up a Discourse instance to [host blog comments](https://jlericson.com/2021/04/06/oracle_discourse.html). When someone posts the first comment, the embedded comment shows “2 Replies”. Before you ask, it’s not because the initial post is counted as a reply. That was [fixed a while ago](https://meta.discourse.org/t/embed-reply-count-is-off-by-one/27998). Instead the problem seems to be the automatic listing notification:

![Screen Shot 2021-04-28 at 9.40.24 AM](https://global.discourse-cdn.com/meta/original/3X/4/0/40844aaa5746ec68191937e01c5b58b222defe9f.png)

Since every blog post comment topic starts unlisted, every first comment unlists the topic which, in turn, counts as a reply.

So I think the fix would be something closer to [this pull request](https://github.com/discourse/discourse/pull/7108) that excludes small actions when counting message replies. Listing a topic is `post_type` 3, which is a `small_action`.

As an aside, the reply count is also off when looking at topic listings but it’s not quite so obvious because you aren’t looking at the count and the replies at the same time. And if you look at the topic itself, it’s not hard to figure out that the listing notice is counted. But when you look at the first few comments on a blog, it’s fairly obvious something is off because you see the count and the replies in one place. (And the listing notice isn’t displayed, thankfully.)

---

_[View the full topic](https://meta.discourse.org/t/reply-count-on-blog-comments-off-by-one/188402)._
