@Override
    public int size() {

      int totalSize = 0;
      for (Collection<E> result : results) {
        totalSize += result.size();
      }
      if (limit >= 0) {
        return totalSize > limit ? limit : totalSize;
      } else {
        return totalSize;
      }
    }
This is used as a wrapper over all the results of PR which are of non distinct type
geode-core/src/main/java/org/apache/geode/cache/query/internal/CumulativeNonDistinctResults.java