Fix minor subclassing issue with collections.Counter