code: public int getUntaggedImageCount(UUID projectId, GetUntaggedImageCountOptionalParameter getUntaggedImageCountOptionalParameter) {
          return getUntaggedImageCountWithServiceResponseAsync(projectId, getUntaggedImageCountOptionalParameter).toBlocking().single().body();
      }
docs: Gets the number of untagged images.
  This API returns the images which have no tags for a given project and optionally an iteration. If no iteration is specified the
  current workspace is used.
  
  @param projectId The project id
  @param getUntaggedImageCountOptionalParameter the object representing the optional parameters to be set before calling this API
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the int object if successful.