Calc total money invested