Was M2 produced by a executive producer of M0 and M1 , written by M3 , and directed by M4
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:film.producer.films_executive_produced M1 .
M2 ns:film.film.directed_by M4 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.written_by M3
}