3.9

@@Count

Use @@Count to return the number of nodes in a dataset or items in a list created with @@AddToList. Used with @@IncludeIf or @@DefineIf.

Syntax:

@@Count(<source>)

Parameters:

<source>

The dataset and node to count, or the list name if counting items in a list made with @@AddToList.

 

Example:

@@IncludeIf(@@Count(#LaseredParticipants.Laser) > 0)

Lasers exist.

@@Else

Policy contains no lasers.

@@End