fix visit count