-- Database schema
| list : LastName [ TEXT ] primary_key , FirstName [ TEXT ] , Grade [ INT ] , Classroom [ INT ] | teachers : LastName [ TEXT ] primary_key , FirstName [ TEXT ] , Classroom [ INT ] |
-- -- How many teachers does the student named MADLOCK RAY have?

SELECT count(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.firstname  =  "MADLOCK" AND T1.lastname  =  "RAY";