aggregate function for the weekly question totals