> For the complete documentation index, see [llms.txt](https://docs.woohoo.dance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.woohoo.dance/ajax-filters/elements/ajax-query-count.md).

# Ajax Query Count

**Displays the total number of results found.**

**Content > Query Settings**

| Setting        | Description                |
| -------------- | -------------------------- |
| **Query Name** | Must match your Main Query |

**Content > General Settings**

| Setting              | Description                     |
| -------------------- | ------------------------------- |
| **Element Tag**      | HTML tag (div, span, p, h1-h6)  |
| **Format Text**      | Text with `%total%` placeholder |
| **Text: No Results** | Message when 0 results          |
| **Text: One Result** | Message when 1 result           |

**Design Settings**

* Layout: Margin, padding, text alignment
* Typography with number styling (font weight, color)

**Usage Example**

```
1. Add Ajax Query Count
2. Query Name: "blog-posts"
3. Format Text: "Found %total% results"
4. Text: No Results: "No posts found"
5. Text: One Result: "Found 1 post"

Output: "Found 42 results"
```
