Did a film director that M2 was written by and M1 was edited by play M3 and play M4
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:film.actor.film/ns:film.performance.character M3 .
?x0 ns:film.actor.film/ns:film.performance.character M4 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.writer.film M2
}