Were M2 and M3 executive produced by a film producer and directed by M1 's editor , cinematographer , and writer
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x1 ns:film.cinematographer.film M1 .
?x1 ns:film.editor.film M1 .
?x1 ns:film.writer.film M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.directed_by ?x1 .
M3 ns:film.film.executive_produced_by ?x0
}