Did a producer of a film whose star was employed by M2 direct M0
SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x1 a ns:film.film .
?x1 ns:film.film.starring/ns:film.performance.actor ?x2 .
?x2 ns:people.person.employment_history/ns:business.employment_tenure.company M2
}