updated how visits are calculated to consider multiple tickets in one visit