private int oidcClaimsUsageCount(String uuid) throws SSOException, SMSException {
  SMSEntry smsEntry=new SMSEntry(getToken(),getOAuth2ProviderBaseDN());
  Map<String,Set<String>> attributes=smsEntry.getAttributes();
  try {
    Set<String> sunKeyValues=getMapSetThrows(attributes,"sunKeyValue");
    if (sunKeyValues.contains("forgerock-oauth2-provider-oidc-claims-extension-script=" + uuid)) {
      return 1;
    }
  }
 catch (  ValueNotFoundException ignored) {
  }
  return 0;
}

private int oidcClaimsUsageCount ( String uuid ) throws SSOException , SMSException { SMSEntry smsEntry = new SMSEntry ( getToken ( ) , getOAuth2ProviderBaseDN ( ) ) ; Map < String , Set < String > > attributes = smsEntry . getAttributes ( ) ; try { Set < String > sunKeyValues = getMapSetThrows ( attributes , "sunKeyValue" ) ; if ( sunKeyValues . contains ( "forgerock-oauth2-provider-oidc-claims-extension-script=" + uuid ) ) { return 1 ; } } catch ( ValueNotFoundException ignored ) { } return 0 ; }
count how many times the script identified by the specified uuid is used in oidc claims .
