adding number of visit in x days