add total quantity and total weight in stocks index