presto-main/src/main/java/io/prestosql/operator/aggregation/CountAggregation.java/CountAggregation/input
class CountAggregation:    @InputFunction
    public static void input(@AggregationState LongState state)
    {
        state.setLong(state.getLong() + 1);
    }