code: private void assertSoftwareModuleTypeQuota(final long id, final int requested) {
          QuotaHelper.assertAssignmentQuota(id, requested,
                  quotaManagement.getMaxSoftwareModuleTypesPerDistributionSetType(), SoftwareModuleType.class,
                  DistributionSetType.class, distributionSetTypeRepository::countSmTypesById);
      }
docs: Enforces the quota specifiying the maximum number of
  {@link SoftwareModuleType}s per {@link DistributionSetType}.
  
  @param id
  of the distribution set type
  @param requested
  number of software module types to check
  
  @throws QuotaExceededException
  if the software module type quota is exceeded