Task: Text to Code
Input (English): How many friends does the high school student Kyle have?
Output (English): SELECT count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id WHERE T2.name  =  "Kyle"