user: ### NOW ANSWER:
Question: What is the total number of attendence has points greater than 40, and detroit as the home?
Columns: ['Date', 'Visitor', 'Score', 'Home', 'Attendance', 'Record', 'Points']
Types: ['text', 'text', 'text', 'text', 'real', 'text', 'real']
Sample row: ['February 1', 'Pittsburgh', '0–6', 'NY Rangers', 17250.0, '14–25–8', 36.0]
SQL:

assistant: SELECT COUNT("Attendance") FROM "Table" WHERE "Points" > 40.0 AND "Home" = 'detroit';