public function countChildComponents($select = array())
    {
        Kwf_Benchmark::count('countChildComponents');

        $select = $this->_formatSelect($select);

        if (!$select->hasPart(Kwf_Component_Select::WHERE_GENERATOR)) {
            throw new Kwf_Exception("You can count only for one generator at a time");
        }
        $generators = Kwf_Component_Generator_Abstract::getInstances($this->componentClass, $select);
        return current($generators)->countChildData($this, $select);
    }