operator
number of specified? data-attributes (of attribute-reference)?
The number of data-attributes operator returns the number of data attributes for an attribute of an
element (as specified by of attribute-reference).
Inside the lexical scope of an external-data-entity rule and if of
attribute-reference is not specified, the number of data-attributes operator evaluates to the
number of data attributes for the current external data entity. In this context, number of data-attributes
is synonymous with number of attributes