retention and churn rates calculations