code: def _get_sorted_dict_from_counter(
      counter: Counter,
  ) -> Mapping[str, int]:
      """Return sorted dict for Counter tail."""
      return {
          f"{c1_label} {c2_label}": count
          for (c1_label, c2_label), count in counter.most_common()
      }
  
imports: from collections import Counter
  from typing import Mapping
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: _get_sorted_dict_from_counter(counter) and returns: unknown