question: Did M5 , M6 , and M7 marry a screenwriter that M1 , M2 , M3 , and M4 were founded by
query: SELECT count(*) WHERE {
  ?x0 a ns:film.writer .
  ?x0 ns:organization.organization_founder.organizations_founded M1 .
  ?x0 ns:organization.organization_founder.organizations_founded M2 .
  ?x0 ns:organization.organization_founder.organizations_founded M3 .
  ?x0 ns:organization.organization_founder.organizations_founded M4 .
  FILTER ( M5 != ?x0 ) .
  FILTER ( M6 != ?x0 ) .
  FILTER ( M7 != ?x0 ) .
  M5 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0 .
  M6 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0 .
  M7 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0
  }