updated rare-events-count-data.R