code: def matrix_table_scan_count_cols_2():
      mt = hl.utils.range_matrix_table(n_cols=10_000_000, n_rows=10)
      mt = mt.annotate_cols(x=hl.scan.count())
      mt._force_count_rows()
  
imports: from os import path
  from tempfile import TemporaryDirectory, NamedTemporaryFile
  import hail
  from .resources import *
  from .utils import benchmark
label_desc: Use image node_id 39 for calling a global function with example usage: matrix_table_scan_count_cols_2() without return types