question: Did M5 marry a costume designer of M1 , M2 , M3 , and M4 , marry a costume designer , and marry M6
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film_costumer_designer .
  ?x1 ns:film.film_costumer_designer.costume_design_for_film M1 .
  ?x1 ns:film.film_costumer_designer.costume_design_for_film M2 .
  ?x1 ns:film.film_costumer_designer.costume_design_for_film M3 .
  ?x1 ns:film.film_costumer_designer.costume_design_for_film M4 .
  FILTER ( M5 != ?x0 ) .
  FILTER ( M5 != ?x1 ) .
  FILTER ( M5 != M6 ) .
  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 .
  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 ?x1 .
  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 M6
  }