Rule

HierarchyCount

Returns the number of hierarchies in the supplied dimension

Cubewise · YouTube
Where it's used
Rule
TM1 server version
Version 11 and 12
Syntax

How you write it

HierarchyCount(DimName)
DimNameDimension name.