> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-conditions-if-in-rules/rule-condition-word-count-exceeds-doesnt-exceed.md).

# Rule condition: Word count exceeds/doesn't exceed

* Check if a field, like a title, has more than a specific number of words
* Check if a field, like a title, doesn't have more than a specific number of words

Use the **word count exceeds** action to check if the number of words **exceeds** (is more than) a specific number.

Use the **word count doesn't exceed** action to check if the number of words **doesn't exceed** (is not more than) a specific number.

{% hint style="info" %}
Values are split up by whitespaces. A new line is also considered a whitespace.
{% endhint %}

|                                    |                                         |
| ---------------------------------- | --------------------------------------- |
| **Example item 1**                 | **Example item 2**                      |
| "This description has some words." | "This description also has words."      |
| This would have a word count of 5. | This would also have a word count of 5. |

[![EN\_-WORD\_COUNT-\_DEF.png](/files/76b254f3d7bd008c872c7486c6617759d11fe185)](https://helpcenter.channable.com/hc/article_attachments/360007558519)

{% hint style="info" %}
"Exceeds/doesn't exceed" is not the same as "is (not) equal to". These examples both have a word count of 5, meaning that a check for **word count exceeds 5** would not find any items, but a check for **word count exceeds 4** would find both items.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://helpcenter.channable.com/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-conditions-if-in-rules/rule-condition-word-count-exceeds-doesnt-exceed.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
