Were M3 and M4 executive produced by a editor of M0 and M1 and executive produced by M2 's director
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x0 ns:film.editor.film M1 .
?x1 ns:film.director.film M2 .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.executive_produced_by ?x1 .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.executive_produced_by ?x1
}