question: Were M2 and M5 written by a person , edited by M3 and M4 , and executive produced by M0 's producer
query: SELECT count(*) WHERE {
  ?x0 ns:film.producer.film|ns:film.production_company.films M0 .
  ?x1 a ns:people.person .
  M2 ns:film.film.edited_by M3 .
  M2 ns:film.film.edited_by M4 .
  M2 ns:film.film.executive_produced_by ?x0 .
  M2 ns:film.film.written_by ?x1 .
  M5 ns:film.film.edited_by M3 .
  M5 ns:film.film.edited_by M4 .
  M5 ns:film.film.executive_produced_by ?x0 .
  M5 ns:film.film.written_by ?x1
  }