public function getCount () {
        if ($this->_count === null) {
            if ($this->name === null) {
                throw new InvalidConfigException(get_class ($this) . " requires a name!");
            }
            $this->_count = (int)$this->getConnection ()->getSlave ()->lSize ($this->name);
        }
        return $this->_count;
    }