-- Database schema
| users : userid [ INTEGER ] primary_key , age [ TEXT ] , u_gender [ TEXT ] , occupation [ TEXT ] | directors : directorid [ INTEGER ] primary_key , d_quality [ INTEGER ] , avg_revenue [ INTEGER ] | actors : actorid [ INTEGER ] primary_key , a_gender [ TEXT ] , a_quality [ INTEGER ] | movies : movieid [ INTEGER ] primary_key , year [ INTEGER ] , isEnglish [ TEXT ] , country [ TEXT ] , runningtime [ INTEGER ] | movies2actors : movieid [ INTEGER ] , actorid [ INTEGER ] , cast_num [ INTEGER ] | movies2directors : movieid [ INTEGER ] , directorid [ INTEGER ] , genre [ TEXT ] | u2base : userid [ INTEGER ] , movieid [ INTEGER ] , rating [ TEXT ] |
-- -- How many distinct movies in English stars a male actor who acts the best?

SELECT COUNT(DISTINCT T1.actorid) FROM actors AS T1 INNER JOIN movies2actors AS T2 ON T1.actorid = T2.actorid INNER JOIN movies AS T3 ON T2.movieid = T3.movieid WHERE T3.isEnglish = 'T' AND T1.a_gender = 'M' AND T1.a_quality = 5;