code: def _ntrees_actual(self):
      """
      Returns actual number of trees in a tree model. If early stopping enabled, GBM can reset the ntrees value.
      In this case, the actual ntrees value is less than the original ntrees value a user set before
      building the model.
  
      Type: ``float``
      """
      return self.summary()["number_of_trees"][0]
  
label_desc: Use image node_id 1 for calling the Trees obj's underlying member method code with example usage: obj._ntrees_actual() and returns: self