Replace python sum for command beer quantity by aggreate.