calculate amount of investments added