public int getNumChildren() {
        return children.size();
    }
Returns the number of child nodes of this.

@return The number of children.
messagebus/src/main/java/com/yahoo/messagebus/TraceNode.java