Did M3 's art director marry M5 's female American actor and influence M0 , M1 , and M2
SELECT count(*) WHERE {
?x0 ns:film.film_art_director.films_art_directed M3 .
?x0 ns:influence.influence_node.influenced M0 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 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 .
?x1 ns:film.actor.film/ns:film.performance.character M5 .
?x1 ns:people.person.gender ns:m.02zsn .
?x1 ns:people.person.nationality ns:m.09c7w0 .
FILTER ( ?x0 != ?x1 )
}