# Admin Panel "Number of Posts" Inaccurate?

**URL:** https://meta.discourse.org/t/admin-panel-number-of-posts-inaccurate/57483
**Category:** Bug
**Created:** [16 Fevereiro , 2017 14:57 UTC](https://meta.discourse.org/t/admin-panel-number-of-posts-inaccurate/57483 "2017-02-16T14:57:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Er00](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/er00/32/42921_2.png) [@Er00](https://meta.discourse.org/u/Er00)
#### Post date: [16 Fevereiro , 2017 14:57 UTC](https://meta.discourse.org/t/admin-panel-number-of-posts-inaccurate/57483/1 "2017-02-16T14:57:57Z")

</div>

I noticed that one day had significantly (like, 10x) more posts recorded in the last month on the admin panel and dug into it as we need to report such stats and would be asked what had caused it.

This is the output from the forum DB:

post\_type | count  
-----------±------  
1 | 94  
2 | 12  
3 | 935

It looks like type 3 is causing the issue here but I’m not sure what that is.

I’ve checked and it really doesn’t look like there were a gazillion posts on that day, but if I can figure out what post\_type 3 is then we can maybe work out what’s causing the issue. For now, I’ve just used 106 as the number of posts (ie excluding type 3 entirely) but ideally I’d have more confidence on that decision! 🙂

* * *

_Edited to add_  
Just found this:  
`"post_type":{"regular":1,"moderator_action":2,"system_action":3}`

I think system actions probably ought not to be counted in posts? Unsure about mod actions either really… Maybe only regular posts should be counted for the post count?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [16 Fevereiro , 2017 22:03 UTC](https://meta.discourse.org/t/admin-panel-number-of-posts-inaccurate/57483/2 "2017-02-16T22:03:15Z")

</div>

Yes this is a good point @neil can we address this?

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [17 Fevereiro , 2017 00:41 UTC](https://meta.discourse.org/t/admin-panel-number-of-posts-inaccurate/57483/3 "2017-02-17T00:41:45Z")

</div>

Yes, good catch. Added to my list.

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [21 Fevereiro , 2017 20:15 UTC](https://meta.discourse.org/t/admin-panel-number-of-posts-inaccurate/57483/4 "2017-02-21T20:15:49Z")

</div>

I made a fix for this. I also excluded whispers since it doesn’t help indicate how active your community is.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [21 Fevereiro , 2017 22:37 UTC](https://meta.discourse.org/t/admin-panel-number-of-posts-inaccurate/57483/5 "2017-02-21T22:37:51Z")

</div>


