$getChildCount

Returns the number of children of the current branch.
Syntax
    $getChildCount{recursive_mode}
DocumentationReturns the number of children of the current branch:

    Parameters:
      recursive_mode, a optional flag to indicate if set to 0 that the number of the direct children only of the current branch is requested
      or if set to 1 that the number of the childrens children is also requested. The value defaults to 0.
    Returns:
      the number of children of the current branch.
Examples
    $//The value of the variable 'child_count' equals to the number of the direct children of the current branch.
    $set{child_count}{$getChildCount{}}

    $//The value of the variable 'child_count' equals to the number of all children of the current branch, including the childrens children.
    $set{child_count}{$getChildCount{1}}
GroupBranch
Minimum required transaction-mode:READ
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters0
Maximum parameters 1