Was M3 produced by M0 's director , directed by a character , and edited by a actor
SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
?x1 a ns:film.actor .
?x2 a ns:fictional_universe.fictional_character .
M3 ns:film.film.directed_by ?x2 .
M3 ns:film.film.edited_by ?x1 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}