public getLength() as Int:
Returns the number of attributes.
Attribute count.
count = attrs.getLength()