question: Did a British screenwriter 's spouse 's parent produce M1 , write M0 , and direct M2
query: SELECT count(*) WHERE {
  ?x0 ns:film.director.film M2 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M1 .
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x1 .
  ?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x2 .
  ?x2 a ns:film.writer .
  ?x2 ns:people.person.nationality ns:m.07ssc .
  FILTER ( ?x1 != ?x2 )
  }