calculate total sales and volume