opnchildren expression function

Returns the number of nodes inside a container node.

Usage

opnchildren(name)

This will return the number of nodes in a sub-network or the number of surface nodes in an Geometry container object.

The count is non-recursive: it only counts the direct contents of the node, not of the sub-nodes as well.