code: def get_ntype_counts_map(ntypes, ntype_counts):
      """
      Return a dictionary with key, value pairs as node type names and no. of
      nodes of a particular type in the input graph.
  
      Parameters:
      -----------
      ntypes : list of strings
          where each string is a node-type name
      ntype_counts : list of integers
          where each integer is the total no. of nodes for that, idx, node type
  
      Returns:
      --------
      dictinary :
          a dictionary where node-type names are keys and values are total no.
          of nodes for a given node-type name (which is also the key)
      """
      return dict(zip(ntypes, ntype_counts))
  
imports: import json
  import logging
  import os
  from itertools import cycle
  import constants
  import dgl
  import numpy
  import psutil
  import pyarrow
  import torch
  from dgl.distributed.partition import _dump_part_config
  from pyarrow import csv
label_desc: Use image node_id 19 for calling a global function with example usage: get_ntype_counts_map(ntypes, ntype_counts) and returns: dict