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