human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Player, Played, Legs Won, Legs Lost, 100+, 140+, 180s, High Checkout, 3-dart Average
###Question: What is the total number of 3-dart average when legs lost is larger than 41, and played is larger than 7?
gpt
SELECT COUNT 3-dart Average FROM table WHERE Legs Lost > 41 AND Played > 7