Was M2 directed by a film producer , executive produced by M3 and M4 , and executive produced by a screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 a ns:film.producer .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.executive_produced_by M3 .
M2 ns:film.film.executive_produced_by M4
}