Count( )

Parent Previous Next

Count( )


Returns the number of objects that a specified selector returns.


Syntax


Count(<object selector>);



Arguments

object selector – any object selector.


Returns

The number of objects that the specified selector returns.


Examples


If (Count($Object(Path:'Details/')) == 1)

{

Span(‘The sub-object Details contained exactly one child.’);

}