@Test
public void testCOUNT() throws Exception {
Integer input[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, null };
long expected = input.length - 1;
EvalFunc<Long> count = new COUNT();
Tuple tup = Util.loadNestTuple(TupleFactory.getInstance().newTuple(1), input);
Long output = count.exec(tup);
assertTrue(output == expected);
}