original_string: protected function count_attachments() {
  
          $fs = get_file_storage();
          $files = $fs->get_area_files($this->get_context()->id, 'mod_assign', ASSIGN_INTROATTACHMENT_FILEAREA,
                          0, 'id', false);
  
          return count($files);
      }
code: protected function count_attachments() {
  
          $fs = get_file_storage();
          $files = $fs->get_area_files($this->get_context()->id, 'mod_assign', ASSIGN_INTROATTACHMENT_FILEAREA,
                          0, 'id', false);
  
          return count($files);
      }
code_tokens: protected function count_attachments ( ) { $ fs = get_file_storage ( ) ; $ files = $ fs -> get_area_files ( $ this -> get_context ( ) -> id , 'mod_assign' , ASSIGN_INTROATTACHMENT_FILEAREA , 0 , 'id' , false ) ; return count ( $ files ) ; }
docstring: Count the number of intro attachments.
  
  @return int
docstring_tokens: Count the number of intro attachments .