code: def test_count_unaries():
      trees = tree_reader.read_trees(CHINESE_LONG_LIST_TREE)
      assert len(trees) == 1
      assert trees[0].count_unary_depth() == 5
  
      trees = tree_reader.read_trees(WEIRD_UNARY)
      assert len(trees) == 1
      assert trees[0].count_unary_depth() == 5
  
imports: import pytest
  from stanza.models.constituency.parse_tree import Tree
  from stanza.models.constituency import tree_reader
  from stanza.tests import *
label_desc: Use image node_id 17 for calling a global function with example usage: test_count_unaries() without return types