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