code: public function getCount(){
      
      if(is_null($this->resultcount)){
        $this->resultcount = $this->search_obj->getObjectQueryCount($this->additionalextra);
      }
      
      return $this->resultcount;
      
    }
docs: get the amount of results which were found
  (ignoring pagination)
  
  @return integer