def __len__(self):
return len(self.attributes)<EOL>
Returns the number of ``Attribute`` objects actually stored.

        Example
        -------

        >>> a = Attributes('foo', '_bar', Attribute(name="qux"))
        >>> len(a)
        3
        >>> a = Attributes('foo', '_bar', allow_all=True)
        >>> len(a)
        2