jodd-proxetta/src/main/java/jodd/asm7/Attribute.java
final int getAttributeCount() {
    int count = 0;
    Attribute attribute = this;
    while (attribute != null) {
      count += 1;
      attribute = attribute.nextAttribute;
    }
    return count;
  }
final int getAttributeCount() {
    int count = 0;
    Attribute attribute = this;
    while (attribute != null) {
      count += 1;
      attribute = attribute.nextAttribute;
    }
    return count;
  }
Returns the number of attributes of the attribute list that begins with this attribute.

@return the number of attributes of the attribute list that begins with this attribute.