Were M3 and M4 edited by a producer and cinematographer of M2 and produced by a producer of M0 and M1
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x0 ns:film.producer.film|ns:film.production_company.films M1 .
?x1 ns:film.cinematographer.film M2 .
?x1 ns:film.producer.film|ns:film.production_company.films M2 .
M3 ns:film.film.edited_by ?x1 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.edited_by ?x1 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}