count

The count function counts and returns the number of iterations of a group.

Note: When a count extended rule is performed on an empty group, the value of -1 is returned from count($GROUPNAME[*]).

Example

An example of this function follows:



integer i;
i = count($GROUPNAME[*]);
//The [*] is a wildcard that counts the number of iterations of the 
//GROUPNAME group.