Make number of events an input parameter for the clusterizer.