Did a star of M3 and M4 edit M0 , write M1 , direct M5 , and write M2
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M3 .
?x0 ns:film.actor.film/ns:film.performance.film M4 .
?x0 ns:film.director.film M5 .
?x0 ns:film.editor.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2
}