Was a film editor that M2 was written by and M3 was written by a screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 a ns:film.writer .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3
}