[aggregation] Add missing page argument.
[aggregation] Fix #14 values (percentage instead of count).
[aggregation] Fix #17 (avoid division by 0).
[aggregation] Fix #14 template.