Was M2 written by a film director , written by M3 , and written by a character
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x1 a ns:fictional_universe.fictional_character .
M2 ns:film.film.written_by ?x0 .
M2 ns:film.film.written_by ?x1 .
M2 ns:film.film.written_by M3
}