Was M2 edited by M3 and M4 , written by M0 's star , and directed by a actor
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x1 a ns:film.actor .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.edited_by M4 .
M2 ns:film.film.written_by ?x0
}