work around PyPy not supporting PySet_Size() in frozenset objects