code: def test_store_global_new(self):
      def fn(x):
          # Test create a new global
          global g_counter_new
          g_counter_new = x + 1
          return x + g_counter_new
  
      x = torch.randn(10)
      cnts = torch._dynamo.testing.CompileCounter()
      opt_fn = torch._dynamo.optimize(cnts)(fn)
      res1 = opt_fn(x)
      self.assertTrue(same(res1, x + x + 1))
  
imports: import torch
  import torch._dynamo.test_case
  import torch._dynamo.testing
  from torch._dynamo.testing import same
label_desc: Use image node_id 3 for calling the TestGlobals obj's underlying member method code with example usage: obj.test_store_global_new() and returns: unknown