Was M2 edited by M1 's cinematographer and executive producer , produced by a screenwriter , and directed by M3
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 ns:film.cinematographer.film M1 .
?x1 ns:film.producer.films_executive_produced M1 .
M2 ns:film.film.directed_by M3 .
M2 ns:film.film.edited_by ?x1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}