public function count()
    {
        if ($this->count == null) {
            $this->count = $this->itemProvider->count($this->method, $this->criterias());
        }

        return $this->count;
    }
public function count()
    {
        if ($this->count == null) {
            $this->count = $this->itemProvider->count($this->method, $this->criterias());
        }

        return $this->count;
    }
public function count ( ) { if ( $ this -> count == null ) { $ this -> count = $ this -> itemProvider -> count ( $ this -> method , $ this -> criterias ( ) ) ; } return $ this -> count ; }
Count all results.

@return array
Count all results .