Were M2 , M3 , M4 , M5 , and M6 directed by a film 's director and edited by a actor
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x1 ns:film.director.film ?x2 .
?x2 a ns:film.film .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by ?x0 .
M3 ns:film.film.directed_by ?x1 .
M3 ns:film.film.edited_by ?x0 .
M4 ns:film.film.directed_by ?x1 .
M4 ns:film.film.edited_by ?x0 .
M5 ns:film.film.directed_by ?x1 .
M5 ns:film.film.edited_by ?x0 .
M6 ns:film.film.directed_by ?x1 .
M6 ns:film.film.edited_by ?x0
}