Built-in tool
Count array items or object keys
Count items in an array or keys in an object.
Freeno per-call chargeNo API key needed
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| itemsrepeating-group · required | repeating-group | required | Add a data source (array or object) to count. Supports variable references and expressions. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"success"
],
"properties": {
"count": {
"type": "number",
"description": "Number of items in the result (populated for array results and the count action)."
},
"error": {
"type": "string"
},
"result": {
"description": "Transformed result. Type depends on the action: array, object, scalar, or number."
},
"success": {
"type": "boolean"
}
},
"additionalProperties": false
}