human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Rank, Nation, Gold, Silver, Bronze, Total
###Question: What is the total medal count for the nation that has 5 gold?
gpt
SELECT Total FROM table WHERE Gold = 5