code: def main():
      args = parse_args()
  
      count_entities(*args.filename)
  
imports: import argparse
  from collections import defaultdict
  import json
  from stanza.models.common.doc import Document
  from stanza.utils.datasets.ner.utils import list_doc_entities
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types