Did M1 and M5 direct M4 , write a film , executive produce M3 , and write M2
SELECT count(*) WHERE {
?x0 a ns:film.film .
M1 ns:film.director.film M4 .
M1 ns:film.producer.films_executive_produced M3 .
M1 ns:film.writer.film ?x0 .
M1 ns:film.writer.film M2 .
M5 ns:film.director.film M4 .
M5 ns:film.producer.films_executive_produced M3 .
M5 ns:film.writer.film ?x0 .
M5 ns:film.writer.film M2
}