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