Count Function - microsoft/MIMWAL GitHub Wiki
Syntax
int Count(values:[list or object])
Description
Returns the number of entries in a list. If an object is passed (single string or resource ID, for example), the count will be 1. If a null value is supplied, the count will be 0.
Remarks
If the input value is null, the function returns 0. If the input is a single value instead of a list of values, the function returns 1.
Supported Version
1.0.0.0 and later
Examples
Count([//Effective/Roles])