costs the sum of

Instead of using the term costs the sum of use the term costs instead