Was M2 a film producer that M4 married , M1 's Spanish director married , and M5 married
SELECT count(*) WHERE {
?x0 ns:film.director.film M1 .
?x0 ns:people.person.nationality ns:m.06mkj .
FILTER ( M2 != ?x0 ) .
FILTER ( M2 != M4 ) .
FILTER ( M2 != M5 ) .
M2 a ns:film.producer .
M2 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 .
M2 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M4 .
M2 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M5
}