attrition rate calculation example