Skip to main content

Node Inputs

Required Fields

Text:
The text content to analyze.
Example: "This is a sample text. It contains multiple sentences! And it's used for word counting."

Optional Fields

Count Stopwords:
Include common stopwords (the, and, is, etc.) in word count.
Example: false
Default: true
Language:
Language for stopword detection.
Example: "en"
Default: "en"

Node Output

Text Statistics:
Comprehensive text analysis including word count, character count, and readability metrics.
Example Output:
{
  "text_length": 87,
  "word_count": 16,
  "unique_words": 15,
  "character_count": 87,
  "character_count_no_spaces": 71,
  "sentence_count": 3,
  "paragraph_count": 1,
  "average_word_length": 4.4,
  "average_sentence_length": 5.3,
  "longest_word": "sentences",
  "longest_word_length": 9,
  "reading_time_minutes": 0.1,
  "word_frequency": {
    "text": 1,
    "sample": 1,
    "contains": 1,
    "multiple": 1,
    "sentences": 1
  },
  "stopwords_count": 6,
  "stopwords_percentage": 37.5
}

Node Functionality

The Word Counter node:
  • Counts words, characters, sentences, and paragraphs.
  • Analyzes unique words and word frequency.
  • Calculates reading time estimates.
  • Provides average word and sentence lengths.
  • Identifies stopwords and their frequency.
  • Useful for content analysis, SEO optimization, and readability assessment.
I