ModPointSet now keeps track of the number of duplicates it gets.