Was M3 written by a costume designer of M0 and produced by a Spanish film producer 's sibling
SELECT count(*) WHERE {
?x0 ns:film.film_costumer_designer.costume_design_for_film M0 .
?x1 ns:people.person.sibling_s/ns:people.sibling_relationship.sibling|ns:fictional_universe.fictional_character.siblings/ns:fictional_universe.sibling_relationship_of_fictional_characters.siblings ?x2 .
?x2 a ns:film.producer .
?x2 ns:people.person.nationality ns:m.06mkj .
FILTER ( ?x1 != ?x2 ) .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M3 ns:film.film.written_by ?x0
}