question: Was M2 written by M3 , produced by M1 's British director 's parent , and produced by M4 and M5
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 .
  ?x1 ns:film.director.film M1 .
  ?x1 ns:people.person.nationality ns:m.07ssc .
  M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies M4 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies M5 .
  M2 ns:film.film.written_by M3
  }