library/Rediska/Config.php
public function count()
    {
        $exec = new Rediska_Connection_Exec($this->_connection, array('CONFIG', 'GET', '*'));
        $namesAndValues = $exec->execute();

        return count($namesAndValues) / 2;
    }
public function count()
    {
        $exec = new Rediska_Connection_Exec($this->_connection, array('CONFIG', 'GET', '*'));
        $namesAndValues = $exec->execute();

        return count($namesAndValues) / 2;
    }
/* Countable implementation