original_string: public function countItems($items)
      {
          if ($this->_count) {
              return $this->_count;
          }
          $this->_count($items);
  
          return $this->_count;
      }
code: public function countItems($items)
      {
          if ($this->_count) {
              return $this->_count;
          }
          $this->_count($items);
  
          return $this->_count;
      }
code_tokens: public function countItems ( $ items ) { if ( $ this -> _count ) { return $ this -> _count ; } $ this -> _count ( $ items ) ; return $ this -> _count ; }
docstring: Counts items in menu.
  
  @param \Cake\ORM\Query $items Items to count
  @return int
docstring_tokens: Counts items in menu .