original_string: public static function count_total_users() {
          global $DB, $CFG;
          static $cached = null;
          if ($cached === null) {
              $cached = $DB->count_records_select('user', 'deleted = 0 AND id <> ?', [$CFG->siteguest]);
          }
          return $cached;
      }
code: public static function count_total_users() {
          global $DB, $CFG;
          static $cached = null;
          if ($cached === null) {
              $cached = $DB->count_records_select('user', 'deleted = 0 AND id <> ?', [$CFG->siteguest]);
          }
          return $cached;
      }
code_tokens: public static function count_total_users ( ) { global $ DB , $ CFG ; static $ cached = null ; if ( $ cached === null ) { $ cached = $ DB -> count_records_select ( 'user' , 'deleted = 0 AND id <> ?' , [ $ CFG -> siteguest ] ) ; } return $ cached ; }
docstring: Returns total number of users who are expected to accept site policy
  
  @return int|null
docstring_tokens: Returns total number of users who are expected to accept site policy