Did M3 marry M4 and influence a character that M2 was directed by and M1 was executive produced by
SELECT count(*) WHERE {
?x0 a ns:fictional_universe.fictional_character .
?x0 ns:film.director.film M2 .
?x0 ns:film.producer.films_executive_produced M1 .
FILTER ( M3 != M4 ) .
M3 ns:influence.influence_node.influenced ?x0 .
M3 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
}