class CountKudaf extends BaseAggregateFunction<Object, Long, Long> implements TableAggregationFunction<Object, Long, Long> {

  @Override
  public Long aggregate(final Object currentValue, final Long aggregateValue) {
    if (currentValue == null) {
      return aggregateValue;
    }
    return aggregateValue + 1;
  }

    CountKudaf(final String functionName, final int argIndexInValue);

}