code: def import_bgen_info_score(bgen_path, sample_path):
      mt = hl.import_bgen(
          bgen_path,
          sample_file=sample_path,
          entry_fields=["GP"],
          n_partitions=8,
      )
      mt = mt.annotate_rows(info_score=hl.agg.info_score(mt.GP))
      mt.rows().select("info_score")._force_count()
  
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 31 for calling a global function with example usage: import_bgen_info_score(bgen_path, sample_path) without return types