@Override public void serverReduce(Object[] args, ExecutionContext ec) { DataType type = this.getReturnType(); Object o = args[0]; if (o != null) { count += (Long) type.convertFrom(o); } }