user: ### NOW ANSWER:
Question: What was the total attendance at games when detroit was the visiting team and the record was 36–13–5?
Columns: ['Date', 'Visitor', 'Score', 'Home', 'Decision', 'Attendance', 'Record']
Types: ['text', 'text', 'text', 'text', 'text', 'real', 'text']
Sample row: ['February 1', 'St. Louis', '2 – 3', 'Detroit', 'Legace', 20066.0, '35–13–5']
SQL:

assistant: SELECT COUNT("Attendance") FROM "Table" WHERE "Visitor" = 'detroit' AND "Record" = '36–13–5';