When overridden in a derived class, gets the number of attributes on the current node.
A int containing the number of attributes on the current node, or zero if the current node does not support attributes.
This property is relevant to Element, DocumentType and XmlDeclaration nodes only. (Other node types do not have attributes.)