Skip to main content

$wordCount

The $wordCount operator counts the number of words in a string.

Input

  • A single string value

Output

  • The number of words in the input string

Examples

Count Words in Sentence

Result: 6

Count Words in Single Word

Result: 1

Count Words in Empty String

Result: 0

Field Value

Result: The number of words in the text field