Was M1 executive produced by a screenwriter 's actor , written by M2 , and edited by M3
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character ?x1 .
?x1 a ns:film.writer .
M1 ns:film.film.edited_by M3 .
M1 ns:film.film.executive_produced_by ?x0 .
M1 ns:film.film.written_by M2
}