@Override
    public QueryCriteria visit(SizeIsQueryCriteria criteria, Void arg) {
      Set<AttributeReference> combinedAttRefs =
          combineAttributeReferences(criteria.getAttributeReference());
      if (combinedAttRefs.size() == 1) {
        return criteria;
      }

      DisjunctionBuilder disjunctionBuilder = new DisjunctionBuilder();
      for (AttributeReference combinedAttRef : combinedAttRefs) {
        disjunctionBuilder.add(new SizeIsQueryCriteria(combinedAttRef, criteria.getValue()));
      }

      return disjunctionBuilder.build();
    }
 @Override
 public QueryCriteria visit(SizeIsQueryCriteria criteria, List<AttributeReference.Key> arg) {
   return new SizeIsQueryCriteria(new AttributeReference(arg), criteria.getValue());
 }