Show the total amount spent by a customer on their account page

You can use the customer.total_spent variable to display the total amount of money spent by a customer on his or her account page. Shopify does not use that variable by default because your customers may have a "Have I really spent that much?" reaction when seeing that total.

It's perfectly okay to add it though, after you have carefully weighed the pros and cons.