docs: public static boolean containsOnly(Stream stream, long size){
          long count = 0L;
          Iterator it = stream.iterator();
  
          while(it.hasNext()){
              it.next();
              if(++count > size) return false;
          }
  
          return size == count;
      }