public static function fetchObjectTreeCount($parentNodeID, $onlyTranslated, $language, $class_filter_type, $class_filter_array, $attributeFilter, $depth, $depthOperator, $ignoreVisibility, $limitation, $mainNodeOnly, $extendedAttributeFilter, $objectNameFilter)
 {
     $childrenCount = null;
     if (is_numeric($parentNodeID) or is_array($parentNodeID)) {
         $childrenCount = eZContentObjectTreeNodeNoLanguage::subTreeCountByNodeID(array('Limitation' => $limitation, 'ClassFilterType' => $class_filter_type, 'ClassFilterArray' => $class_filter_array, 'AttributeFilter' => $attributeFilter, 'DepthOperator' => $depthOperator, 'Depth' => $depth, 'IgnoreVisibility' => $ignoreVisibility, 'OnlyTranslated' => $onlyTranslated, 'Language' => $language, 'ObjectNameFilter' => $objectNameFilter, 'ExtendedAttributeFilter' => $extendedAttributeFilter, 'MainNodeOnly' => $mainNodeOnly), $parentNodeID);
     }
     if ($childrenCount === null) {
         $result = array('error' => array('error_type' => 'kernel', 'error_code' => eZError::KERNEL_NOT_FOUND));
     } else {
         $result = array('result' => $childrenCount);
     }
     return $result;
 }
 function subTreeCount($params = array())
 {
     return eZContentObjectTreeNodeNoLanguage::subTreeCountByNodeID($params, $this->attribute('node_id'));
 }