Try NSMutableSet's count property and minusSet, removeAllObjects methods.