human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: P, Player, League, Scottish Cup, League Cup, Challenge Cup, Total
###Question: How many points did player 7 score in the challenge cup?
gpt
SELECT COUNT Challenge Cup FROM table WHERE P = 7