Description
Returns the number of descendants for the current node where the specified expression evaluates to True.
Syntax
NumDescendantsWith(Expression: Boolean): Integer
Example
NumDescendantsWith(NodeIsLeaf())
If the node has two children and each child has 10 leaf children, then the return value is 20.