code: def num_trues(array):
      result = 0
      for item in array:
          if item == True:
              result += 1
  
      return result
  
imports: import numpy
  import tensorflow
  import random
  import math
  import sys
  from sentence_grouper import SentenceGrouper
label_desc: Use image node_id 10 for calling the NerModel obj's underlying member method code with example usage: obj.num_trues(array) and returns: result