src/OrderVisitor.php
private function getTotalCount(): int
    {
        if ($this->totalCount === -1) {
            $this->setTotalCount($this->getLastResponse()->getTotal());
        }

        return $this->totalCount;
    }
private function getTotalCount(): int
    {
        if ($this->totalCount === -1) {
            $this->setTotalCount($this->getLastResponse()->getTotal());
        }

        return $this->totalCount;
    }
private function getTotalCount ( ) : int { if ( $ this -> totalCount === - 1 ) { $ this -> setTotalCount ( $ this -> getLastResponse ( ) -> getTotal ( ) ) ; } return $ this -> totalCount ; }
Returns the total count of found orders.
@return int
Returns the total count of found orders .