Caculate retention rate of visitors