The Count Children action stores the number of immediate children under the target object in a variable.

Target object

The object whose children will be counted.

Store number of children in variable

The variable that receives the child count.