public Object invoke(Object o) throws Exception {
  return new Integer(Array.getLength(o));
}

public Object invoke ( Object o ) throws Exception { return new Integer ( Array . getLength ( o ) ) ; }
returns the length of the array .
