code: public int numWildcards() {
          int numWildcards = 0;
          if (WILDCARD.equals(type())) {
              numWildcards++;
          }
          if (WILDCARD.equals(subtype())) {
              numWildcards++;
          }
          return numWildcards;
      }
docs: Returns the number of wildcards of this {@link MediaType}.