code: def test_morph(doc):
      exp = {
          "Case": {"Nom": 2},
          "Number": {"Sing": 2, "Plur": 2},
          "Person": {"1": 1, "3": 1},
          "PronType": {"Prs": 2},
          "Tense": {"Pres": 1, "Past": 1},
          "VerbForm": {"Fin": 2},
          "PunctType": {"Peri": 2},
      }
      assert textacy.text_stats.counts.morph(doc) == exp
  
imports: import pytest
  import textacy
  import textacy.text_stats
label_desc: Use image node_id 2 for calling a global function with example usage: test_morph(doc) without return types