Obtaining cumulative number and cumulative incidence of COVID-19 cases