question: Was M2 written by M0 's child , directed by M3 , and edited by a costume designer 's child
query: SELECT count(*) WHERE {
  ?x0 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent M0 .
  ?x1 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x2 .
  ?x2 a ns:film.film_costumer_designer .
  M2 ns:film.film.directed_by M3 .
  M2 ns:film.film.edited_by ?x1 .
  M2 ns:film.film.written_by ?x0
  }