Was a film whose star , cinematographer , and director played M3 edited by and written by M1 and M2
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.cinematography ?x1 .
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.edited_by M1 .
?x0 ns:film.film.edited_by M2 .
?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
?x0 ns:film.film.written_by M1 .
?x0 ns:film.film.written_by M2 .
?x1 ns:film.actor.film/ns:film.performance.character M3
}