Were M2 , M3 , M4 , M5 , M6 , and M7 written by a film director and edited by a cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x1 a ns:film.cinematographer .
M2 ns:film.film.edited_by ?x1 .
M2 ns:film.film.written_by ?x0 .
M3 ns:film.film.edited_by ?x1 .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.edited_by ?x1 .
M4 ns:film.film.written_by ?x0 .
M5 ns:film.film.edited_by ?x1 .
M5 ns:film.film.written_by ?x0 .
M6 ns:film.film.edited_by ?x1 .
M6 ns:film.film.written_by ?x0 .
M7 ns:film.film.edited_by ?x1 .
M7 ns:film.film.written_by ?x0
}