A sum is a specific amount of money.
He calculated the numbers to see what the sum of his bills would be.
Example picture