code: def _get_doc_extensions_text_stats_counts() -> (
      dict[str, dict[str, types.DocExtFunc]]
  ):
      return {
          "morph_counts": {"getter": counts.morph},
          "tag_counts": {"getter": counts.tag},
          "pos_counts": {"getter": counts.pos},
          "dep_counts": {"getter": counts.dep},
      }
  
imports: from ..None import types
  from ..spacier.extensions import doc_extensions_registry
  from .None import basics, counts, diversity, readability
label_desc: Use image node_id 2 for calling a global function with example usage: _get_doc_extensions_text_stats_counts() and returns: dict