summaryrefslogtreecommitdiffstats
path: root/docs/content/en/methods/page/WordCount.md
blob: 3950244ca8402e28b746ba846ea378b1484b63f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
title: WordCount
description: Returns the number of words in the content of the given page.
categories: []
keywords: []
params:
  functions_and_methods:
    returnType: int
    signatures: [PAGE.WordCount]
---

```go-html-template
{{ .WordCount }} → 103
```

To round up to nearest multiple of 100, use the [`FuzzyWordCount`] method.

[`FuzzyWordCount`]: /methods/page/fuzzywordcount/