question: Was a film that was directed by and executive produced by a parent of M2 directed and written by M1
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.directed_by ?x1 .
  ?x0 ns:film.film.directed_by M1 .
  ?x0 ns:film.film.executive_produced_by ?x1 .
  ?x0 ns:film.film.written_by M1 .
  ?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M2
  }