Returns the number of present/absent members.

def count(self, value=True):
        """Returns the number of present/absent members."""
        if value not in (True, False):
            raise ValueError('can only count True or False, not %r' % (value,))
        return bin(self)[2:].count('01'[value])