Emilio version of total sales, need to fix output