@Override
    public Attribute[] getBaseAttributes() {
        return this.baseAttributes;
    }
{@link IncrementalAttributeAggregator} to calculate count based on an event attribute.
modules/siddhi-core/src/main/java/io/siddhi/core/query/selector/attribute/aggregator/incremental/CountIncrementalAttributeAggregator.java