Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_name_7 (goals INTEGER, appearances VARCHAR, rank VARCHAR, name VARCHAR)
### Question:
What is the total Goals with a Rank smaller than 10, a Name of nicolas anelka, and Appearances larger than 9?
### Answer:
SELECT SUM(goals) FROM table_name_7 WHERE rank < 10 AND name = "nicolas anelka" AND appearances > 9