public function getTotalItems()
    {
        if (is_null($this->_totalItems)) {
            $this->_totalItems = $this->dataProvider->totalItemCount;
        }

        return $this->_totalItems;
    }