user: Question: What is the total number of medals when there are 18 gold medals?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['text', 'text', 'real', 'real', 'real', 'real']
Sample row: ['1', 'Canada', 25.0, 18.0, 14.0, 57.0]
SQL:

assistant: SELECT SUM("Total") FROM "Table" WHERE "Gold" = 18.0;