class_docstr: Results from the profiler.
docstr: Returns the number of events occurred. Events that are on the boundary are skipped.
docstr_tok: ["Returns","the","number","of","events","occurred",".","Events","that","are","on","the","boundary","are","skipped","."]
code: def getEventCount(self):
      """Returns the number of events occurred. Events that are on the boundary are skipped."""
      return self.__eventCount
  
imports: import numpy
  import matplotlib.pyplot
  from six.moves import xrange
  from pyalgotrade.technical import roc
  from pyalgotrade import dispatcher
label_desc: Use image node_id 7 for calling the Results obj's underlying member method code with example usage: obj.getEventCount() and returns: self