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