@Override
public LongSumAggregator newClientAggregator() {
// Since COUNT can never be null, ensure the aggregator is not nullable.
// This allows COUNT(*) to return 0 with the initial state of ClientAggregators
// when no rows are returned.
return new LongSumAggregator() {
@Override
public boolean isNullable() {
return false;
}
};