Did a screenwriter that M3 was played by and M4 was played by write M1 and write M2
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.actor.film/ns:film.performance.character M3 .
?x0 ns:film.actor.film/ns:film.performance.character M4 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2
}