Do not repeat columns. Split AVG into SUM and COUNT.