question: Was a film written by M1 and executive produced by M2 's producer , art director , and executive producer
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.executive_produced_by ?x1 .
  ?x0 ns:film.film.written_by M1 .
  ?x1 ns:film.film_art_director.films_art_directed M2 .
  ?x1 ns:film.producer.films_executive_produced M2 .
  ?x1 ns:film.producer.film|ns:film.production_company.films M2
  }