code: private static int getSize(Tuple t, Iterable<? extends Tuple> tuples)
      {
          if (t != null)
          {
              return t.getSize();
          }
          Iterator<? extends Tuple> iterator = tuples.iterator();
          if (iterator.hasNext())
          {
              Tuple first = iterator.next();
              if (first != null)
              {
                  return first.getSize();
              }
          }
          return -1;
      }
docs: Returns the size of the given tuple. If the given tuple is
  <code>null</code>, then the size of the first tuple of the
  given sequence is returned. If this first tuple is <code>null</code>,
  or the given sequence is empty, then -1 is returned.
  
  @param t The tuple
  @param tuples The tuples
  @return The size