question: Was M2 produced by M1 's writer and produced by a film distributor 's parent and child
query: SELECT count(*) WHERE {
  ?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x1 .
  ?x0 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x1 .
  ?x1 a ns:film.film_distributor .
  ?x2 ns:film.writer.film M1 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies ?x2
  }