code: def num_trues(array):
      result = 0
      for item in array:
          if item == True:
              result += 1
  
      return result
  
imports: import math
  import random
  import sys
  import numpy
  import tensorflow
  from .sentence_grouper import SentenceGrouper
  from ..tf2contrib import *
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