public function paginate($page, $itemsPerPage, $column = '1')
    {
        $count = $this->getCount($column);

        if ($this->isDriver('mysql') || $this->isDriver('sqlite')) {
            // Alter paginator's state
            $this->paginateRaw($count, $page, $itemsPerPage);
        } else {
            throw new RuntimeException('Smart pagination algorithm is currently supported only for MySQL and SQLite');
        }

        return $this;
    }