COUNT

You can use the COUNT function to return an integer representing the number of valid input or output objects in a series.

Syntax:
COUNT (series-object-expression)
Meaning:
COUNT (valid_objects_to_count)
Returns:
A single integer

The result is the number of valid_objects_to_count. If the input argument evaluates to "none", COUNT returns 0.

COUNT does not count existing "none"s unless its group was defined as an explicit format with a Track setting of Places.

Examples

  • COUNT ( Claim Record:Patient File )

    This example returns the number of valid Claim Record objects in Patient File.

  • COUNT ( Class IN Transcript )

    This example returns the number of valid Class objects in Transcript.

  • COUNT ( UNIQUE ( Class IN Transcript ) )

    This example returns the number of valid Unique Class objects in Transcript.

Related functions

  • COUNTABS