A mother shared a sum of money amongst his three sons Jorge, Luis and Robert in the ratio of 3:5:4 respectively. If Robert received $320. How much was the total money shared?