Fix the count of items in the set.