4th test case

Added the function of getting the total sum of all items.