Adds visit count and clearing