/** * Returns the number of nodes in the context node-set. * * @param context the context at the point in the * expression where the function is called * * @return the context size * * @see Context#getSize() */ public static Double evaluate(Context context) { return new Double( context.getSize() ); }