---
title: "Word Count"
description: "Track word count effortlessly in content properties without configuration needs. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/engine/aspects/word-count"
---

# Word Count

QName: `f:word-count`

Indicates that a node should track the number of words in each text property.

## Configuration

This feature does not require configuration.

## Word Count Example

Suppose we have a content type (`my:article`) that looks like this:

```json
{
	"_qname": "my:article",
    "_type": "d:type",
    "type": "object",	
    "properties":{
        "title": {
            "type": "string"
        },
        "body": {
            "type": "string"
        }
    },
    "mandatoryFeatures": {
        "f:word-count": {}
    }
}
```

Now we create a piece of content of this type. We set the following:

- _title_ -> Hello World
- _body_ -> Cloud CMS is Awesome!

When we save this content, you'll end up with something like this:

```json
{
    "title": "Hello World",
    "body": "Cloud CMS is Awesome!",
    "_features": {
        ...,
        "f:word-count": {
            "counts": {
                "title": 2,
                "body": 4,
                "*": 6
            }
        }
    }
}
```
