question: Did M2 executive produce a film that was written by and executive produced by M1
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.executive_produced_by M1 .
  ?x0 ns:film.film.written_by M1 .
  M2 ns:film.producer.films_executive_produced ?x0
  }