Was a character that M3 was directed by and a film was written by M1
SELECT count(*) WHERE {
?x0 a ns:film.film .
M1 a ns:fictional_universe.fictional_character .
M1 ns:film.director.film M3 .
M1 ns:film.writer.film ?x0
}