Counts the total number of components in a hierarchy
The root component specification
Whether to include components without code
Total component count
Counts the total number of components in a hierarchy