Were M2 and M4 edited by M1 's director , produced by a film producer 's employee , and produced by M3
SELECT count(*) WHERE {
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
?x1 a ns:film.producer .
?x2 ns:film.director.film M1 .
M2 ns:film.film.edited_by ?x2 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies M3 .
M4 ns:film.film.edited_by ?x2 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies M3
}