code: def get_node_nsamples_by_class(self, id):
      all_nodes = self.internal + self.leaves
      if self.is_classifier():
          node_value = [
              node.n_sample_classes()
              for node in all_nodes
              if node.id == id
          ]
          return node_value[0]
  
imports: from collections import defaultdict
  from typing import List, Mapping
  import numpy
  import tensorflow_decision_forests
  from tensorflow_decision_forests.component.py_tree.node import LeafNode
  from tensorflow_decision_forests.keras import RandomForestModel
  from tensorflow_decision_forests.tensorflow.core import Task
  from dtreeviz.models.shadow_decision_tree import ShadowDecTree, VisualisationNotYetSupportedError
label_desc: Use image node_id 19 for calling the ShadowTensorflowTree obj's underlying member method code with example usage: obj.get_node_nsamples_by_class(id) and returns: node_value