code: def for_no_vars(l, v):
      v.assign(0)
      for _ in l:
          v.assign_add(1)
      return v.read_value()
  
imports: import functools
  import itertools
  from absl.testing import parameterized
  import tensorflow
  from tensorflow.python.autograph.tests import reference_test_base
label_desc: Use image node_id 2 for calling a global function with example usage: for_no_vars(l, v) and returns: v