Each composite-key bucket gets its own COUNT and integer SUM facts.
facts per tuple
Read aggregate rows
The compiler computes 2 aggregate facts for each of 5 composite groups.
aggregate facts=2
Multi-column grouping examples are tiny finite table transforms; SQL dialect completeness, optimizer behavior, indexing, product behavior, and performance claims are out of scope.
SUM stays scoped
SUM adds present integer quantity cells inside each displayed tuple bucket.