setSize

setSize(set)

setSize(set, unique)

Count the number of elements of a (multi)set. When the second parameter "unique" is true, count only the unique values. A multi-dimension array will be converted to a single-dimension array before the operation.

Try it yourself:

All functions