Were M2 , M3 , M4 , and M5 executive produced by a director of a film and edited by M1 's cinematographer
SELECT count(*) WHERE {
?x0 ns:film.director.film ?x1 .
?x1 a ns:film.film .
?x2 ns:film.cinematographer.film M1 .
M2 ns:film.film.edited_by ?x2 .
M2 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.edited_by ?x2 .
M3 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.edited_by ?x2 .
M4 ns:film.film.executive_produced_by ?x0 .
M5 ns:film.film.edited_by ?x2 .
M5 ns:film.film.executive_produced_by ?x0
}