/** * Returns the number of events raised. * * @return int */ public function getEventCount() { return $this->_events->count(); }