src/Repositories/CategoryRepository.php
public function countChildren($path)
    {
        // load and return the category with the passed path
        $this->categoryCountChildrenStmt->execute(array(MemberNames::PATH => $path));
        return $this->categoryCountChildrenStmt->fetchColumn();
    }
public function countChildren($path)
    {
        // load and return the category with the passed path
        $this->categoryCountChildrenStmt->execute(array(MemberNames::PATH => $path));
        return $this->categoryCountChildrenStmt->fetchColumn();
    }
public function countChildren ( $ path ) { // load and return the category with the passed path $ this -> categoryCountChildrenStmt -> execute ( array ( MemberNames :: PATH => $ path ) ) ; return $ this -> categoryCountChildrenStmt -> fetchColumn ( ) ; }
Return's the children count of the category with the passed path.

@param string $path The path of the category to count the children for

@return integer The children count of the category with the passed path
Return s the children count of the category with the passed path .