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