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