The goal of MCC is to compute the mean cumulative count of a recurrent event
You can install the development version of MCC like so:
devtools::install_github("tjuheide/MCC")