code: def test_get_leaf_sample_counts(shadow_dec_tree):
      leaf_ids, leaf_samples = shadow_dec_tree.get_leaf_sample_counts()
      assert np.array_equal(
          leaf_ids, np.array([3, 4, 6, 7, 10, 11, 13, 14])
      ), "Leaf ids should be [3, 4, 6, 7, 10, 11, 13, 14]"
      assert np.array_equal(
          leaf_samples, np.array([0, 5, 6, 0, 2, 6, 0, 1])
      ), "Leaf samples should be [0, 5, 6, 0, 2, 6, 0, 1]"
  
imports: import joblib
  import numpy
  import pytest
  from sklearn.tree import DecisionTreeRegressor, DecisionTreeClassifier
  from dtreeviz.models.sklearn_decision_trees import ShadowSKDTree
label_desc: Use image node_id 22 for calling a global function with example usage: test_get_leaf_sample_counts(shadow_dec_tree) without return types