Was M3 executive produced by M4 and M5 , directed by a writer of M0 , M1 , and M2 , and directed by M6
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.directed_by M6 .
M3 ns:film.film.executive_produced_by M4 .
M3 ns:film.film.executive_produced_by M5
}