getAttachedPseudoElementsCount() {
    return Object.keys(this.attachedPseudoElements).length;
  }
Returns the number of attached pseudo elements.

@returns {Number} The number of attached pseudo elements.