Can we predict the duration of COVID-19 pandemic? an observational analysis