public int CountForParent( int categoryId, bool publicOnly )
Parameters
- categoryId
 - The parent category ID
 - publicOnly
 - If true only public (published) categories are loaded. Default value is false.
 
Return Value
The number of child categories of the given parent category