Were M1 , M3 , M4 , and M5 edited by M2 and edited by a cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
M1 ns:film.film.edited_by ?x0 .
M1 ns:film.film.edited_by M2 .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.edited_by M2 .
M4 ns:film.film.edited_by ?x0 .
M4 ns:film.film.edited_by M2 .
M5 ns:film.film.edited_by ?x0 .
M5 ns:film.film.edited_by M2
}