Did a actor influenced by M1 and M2 influence M3 's executive producer and star and marry a film director
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by 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 ?x2 .
?x1 ns:film.actor.film/ns:film.performance.film M3 .
?x1 ns:film.producer.films_executive_produced M3 .
?x2 a ns:film.director .
FILTER ( ?x0 != ?x2 )
}