public ValueEval evaluate(ValueEval[] args, int srcCellRow, int srcCellCol) {int nArgs = args.length;if (nArgs < 1) {return ErrorEval.VALUE_INVALID;}if (nArgs > 30) {return ErrorEval.VALUE_INVALID;}int temp = 0;for(int i=0; i<nArgs; i++) {temp += CountUtils.countArg(args[i], _predicate);}return new NumberEval(temp);}
public ValueEval Evaluate(ValueEval[] args, int srcCellRow, int srcCellCol){int nArgs = args.Length;if (nArgs < 1){return ErrorEval.VALUE_INVALID;}if (nArgs > 30){return ErrorEval.VALUE_INVALID;}int temp = 0;for (int i = 0; i < nArgs; i++){temp += CountUtils.CountArg(args[i], _predicate);}return new NumberEval(temp);}