add option for getting children counts