# Perché il conteggio dei post è diverso sulla pagina admin e in about.json?

**URL:** <https://meta.discourse.org/t/why-post-count-differs-on-admin-page-and-about-json/84578>\
**Category:** Support\
**Created:** [4 Aprile 2018, 3:31pm UTC](https://meta.discourse.org/t/why-post-count-differs-on-admin-page-and-about-json/84578 "2018-04-04T15:31:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [1 Maggio 2018, 9:02pm UTC](https://meta.discourse.org/t/why-post-count-differs-on-admin-page-and-about-json/84578/2 "2018-05-01T21:02:17Z")

</div>

The post count is calculated differently on the About page than it is on the Admin Dashboard. On the About page the post count is calculated with `Post.count`. The query that is used for the 7 day and 30 day periods is similar to this. It will return all posts, including PMs. On the Admin Dashboard the post count is calculated with this:

```plaintext
Post.public_posts.where(post_type: Post.types[:regular])

```

This will exclude private messages from the post count. It will also exclude moderator action, small action, and whisper posts from the post count.

---

_[View the full topic](https://meta.discourse.org/t/why-post-count-differs-on-admin-page-and-about-json/84578)._
