Was M1 written by M2 , edited by M3 , and edited by M0 's cinematographer and director
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M0 .
?x0 ns:film.director.film M0 .
M1 ns:film.film.edited_by ?x0 .
M1 ns:film.film.edited_by M3 .
M1 ns:film.film.written_by M2
}