Was M1 edited by M4 , produced by M0 's writer 's actor , written by M2 , and produced by M3
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character ?x1 .
?x1 ns:film.writer.film M0 .
M1 ns:film.film.edited_by M4 .
M1 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M1 ns:film.film.produced_by|ns:film.film.production_companies M3 .
M1 ns:film.film.written_by M2
}