All Collections
Commands
Commands: /count
Commands: /count
G
Written by Glen Smith
Updated over a week ago

Overview

The /count command can be used to count the number of words/sentences within a phrase/variable

Input text can be inline text, or variables and the count(output) will replace the command in the content window, or the output can be directed to a variable.

Examples

Example1: Count the words in within the #topic variable

/count [#topic]

Example 2: Counts the words in a static sentence, this could be a variable

/count words [Example sentence with five words]

Example 3: Counts the sentences in the #content and stores it to a variable

/count sentences [#content] (as #sentences)

In the example above, the number of sentences in the existing variables for the article #content is counted and the count (output) is then directed to a new variable #sentences

Arguments

  • words

  • sentences

Did this answer your question?