simplify getSetSize() per Duncan's comments