code: def read_with_index_p1000(path):
      rows = 10_000_000
      bins = 1_000
      width = rows // bins
      intervals = [
          hl.Interval(start=i, end=i + width)
          for i in range(0, rows, width)
      ]
      ht = hl.read_table(path, _intervals=intervals)
      ht._force_count()
  
imports: from os import path
  from tempfile import TemporaryDirectory
  import hail
  from .resources import *
  from .utils import benchmark
label_desc: Use image node_id 42 for calling a global function with example usage: read_with_index_p1000(path) without return types