Did M2 write and executive produce a film that was directed by and produced by M1
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M1 .
M2 ns:film.producer.films_executive_produced ?x0 .
M2 ns:film.writer.film ?x0
}