Description
Returns the number of descendants where the specified expression is 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.