bmel:count¶
Category: Array & Statistics · Returns: bmel:integer
Signature
bmel:count(array: bmel:array)
Description¶
Returns the number of elements in an array.
Arguments¶
| Parameter | Type | Required | Description |
|---|---|---|---|
array | bmel:array | The array to count elements in. |
Examples¶
Number of LLM calls in a run
bmel:count({createChatCompletion:Response Payload[]}.$.id)
Number of items in an order
bmel:count({getOrder:Response Payload}.$.items)