question: Were M2 and M4 executive produced by M3 and written by a actor whose parent edited a film 's prequel
query: SELECT count(*) WHERE {
  ?x0 a ns:film.actor .
  ?x0 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x1 .
  ?x1 ns:film.editor.film ?x2 .
  ?x2 ns:film.film.sequel ?x3 .
  ?x3 a ns:film.film .
  M2 ns:film.film.executive_produced_by M3 .
  M2 ns:film.film.written_by ?x0 .
  M4 ns:film.film.executive_produced_by M3 .
  M4 ns:film.film.written_by ?x0
  }