Was a film written by a character 's actor and written by M1 's director
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.written_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 ns:film.director.film M1 .
?x2 ns:film.actor.film/ns:film.performance.character ?x3 .
?x3 a ns:fictional_universe.fictional_character
}