Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM list WHERE FirstName = "MADLOCK"
Feedback: Mention list's full name equals MADLOCK RAY and change list table to teachers table .
Output (English): SELECT count(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.firstname  =  "MADLOCK" AND T1.lastname  =  "RAY"