Were M2 and M3 edited by M0 's producer and editor and directed by M1 's cinematographer and director
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x1 ns:film.cinematographer.film M1 .
?x1 ns:film.director.film M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by ?x0 .
M3 ns:film.film.directed_by ?x1 .
M3 ns:film.film.edited_by ?x0
}