Returns a number of the children of the specified entity type of the current entity according to the specified hierarchy is marked by the specified tag at the current time step using existing or aligned to current time step tag entries time range.


CountChildrenByTag(name, entity type name, hierarchy name, aligned range options)


Name: Name of tag

Entity Type:  Name of entity

Hierarchy Name:  Name of Hierarchy

Aligned Range option:  String


CountChildrenByTag("Sand problem", "Well", "Hierarchy 51")

CountChildrenByTag("Sand problem", "Well", "Hierarchy 51")