One aggregation model covers stats, streamstats, eventstats, and programmable windows by separating boundaries, state, and output.