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