original_string: protected function setTotalIndexCategory()
      {
          $options = $this->query_filter;
          $options['count'] = true;
          $options['category_id'] = $this->data_category['category_id'];
  
          return $this->data_total = (int) $this->product->getList($options);
      }
code: protected function setTotalIndexCategory()
      {
          $options = $this->query_filter;
          $options['count'] = true;
          $options['category_id'] = $this->data_category['category_id'];
  
          return $this->data_total = (int) $this->product->getList($options);
      }
code_tokens: protected function setTotalIndexCategory ( ) { $ options = $ this -> query_filter ; $ options [ 'count' ] = true ; $ options [ 'category_id' ] = $ this -> data_category [ 'category_id' ] ; return $ this -> data_total = ( int ) $ this -> product -> getList ( $ options ) ; }
docstring: Sets a total number of products found for the category
  @return int
docstring_tokens: Sets a total number of products found for the category