Skip to main content



Count Function

The Count function returns the number of members in a collection.

Syntax 1

Count(collection)

The Count function returns the number of members in a collection.

Arguments

collection Collection - The collection whose count is to be determined.

Syntax 2

Count(collection, filter)

The Count function returns the number of members in a collection.

Arguments

collection Collection - The collection whose count is to be determined.

filter FilterExpression - Filter criteria.

Remarks

Example:

Count(Vehicles); // returns 42

Example:

Count(Vehicles, Color = "Red"); // returns 3