original_string: public static function get_users_count($context, $search = '') {
          global $DB;
  
          list($sql, $params) = self::get_users_sql_and_params($context, $search, true);
          return $DB->count_records_sql($sql, $params);
  
      }
code: public static function get_users_count($context, $search = '') {
          global $DB;
  
          list($sql, $params) = self::get_users_sql_and_params($context, $search, true);
          return $DB->count_records_sql($sql, $params);
  
      }
code_tokens: public static function get_users_count ( $ context , $ search = '' ) { global $ DB ; list ( $ sql , $ params ) = self :: get_users_sql_and_params ( $ context , $ search , true ) ; return $ DB -> count_records_sql ( $ sql , $ params ) ; }
docstring: Get total number of users present for the given search criteria.
  
  @param \context $context Context of the page where the results would be shown.
  @param string $search the text to search for (empty string = find all).
  
  @return int number of users found.
docstring_tokens: Get total number of users present for the given search criteria .