DE.CHILDRENCOUNT
          Returns the number of children of a specified consolidated element. 
         
         Syntax
DE.CHILDRENCOUNT(Dimension, Element)
Example
the North America element of the REGION dimension has three children, Canada, Mexico, and USA in that order. This example returns 3:
DE.CHILDRENCOUNT('REGION','North America')