Question d’entretien chez Pinterest

implement 2 functions: getNumOfEvents(), eventAccured()