question: Did a executive producer of M0 produce and write a film that was written by and edited by M2
query: SELECT count(*) WHERE {
  ?x0 ns:film.producer.films_executive_produced M0 .
  ?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
  ?x0 ns:film.writer.film ?x1 .
  ?x1 a ns:film.film .
  ?x1 ns:film.film.edited_by M2 .
  ?x1 ns:film.film.written_by M2
  }