Monta interview question

How one can aggregate events?