Returns the number of hierarchies in the specified dimension.
HIERARCHYCOUNT(dimension)
dimension
HIERARCHYCOUNT("Time")
Note: Returns 1 if the if there was only 1 hierarchy in the Time dimension.