count
count returns the number of elements in a set, or an array
Format:
count(arg)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg | mixed | a set, or an array |
Returned Value:
| Type | Description |
|---|---|
| number | the number of elements in the arg |
Examples
nprofiles = count(cloudobjects_of_type("profile"))