Track duplicate counts

Update `bag_stats` with number of found duplicates for each processed
file and every table. Show this information on the web.