Was M2 produced by a film 's writer 's employer and executive produced by M0 's director
SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
?x1 ns:business.employer.employees/ns:business.employment_tenure.person ?x2 .
?x2 ns:film.writer.film ?x3 .
?x3 a ns:film.film .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x1
}