Fixed increment number_of_visits when adding visit record