original_string: public static function count_records_select($select, $params = null) {
          global $DB;
  
          $count = $DB->count_records_select(static::TABLE, $select, $params);
          return $count;
      }
code: public static function count_records_select($select, $params = null) {
          global $DB;
  
          $count = $DB->count_records_select(static::TABLE, $select, $params);
          return $count;
      }
code_tokens: public static function count_records_select ( $ select , $ params = null ) { global $ DB ; $ count = $ DB -> count_records_select ( static :: TABLE , $ select , $ params ) ; return $ count ; }
docstring: Count a list of records.
  
  @param string $select
  @param array $params
  @return int
docstring_tokens: Count a list of records .