Were M4 , M6 , and M7 produced by a film editor that edited M1 , M2 , and M3 and directed by M5
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:film.editor.film M1 .
?x0 ns:film.editor.film M2 .
?x0 ns:film.editor.film M3 .
M4 ns:film.film.directed_by M5 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M6 ns:film.film.directed_by M5 .
M6 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M7 ns:film.film.directed_by M5 .
M7 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}