Calculation method
Normalizes whitespace and counts every non-empty space-separated item.
word-count
Number of words in the normalized text.
When enabled, the report contains exactly one item with this metric_id in result.measurements.
result.measurements[]metric_id = "word-count"Normalizes whitespace and counts every non-empty space-separated item.
`value` contains the numeric result and `unit` is `count`. Absence means the variant was disabled.
The value depends on analyzer normalization and segmentation; it should be interpreted together with the other metrics and the text genre.
en1.0count{
"implementation_version": "1.0",
"metric_id": "word-count",
"unit": "count",
"value": 24
}
Complete request, response and error contracts, generated automatically from the code.