/** * @return int number of child for the current category */ public function countChild() { return CategoryQuery::countChild($this->getId()); }