Was M1 a actor that was influenced by M0 's director and married M3
SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
FILTER ( M1 != M3 ) .
M1 a ns:film.actor .
M1 ns:influence.influence_node.influenced_by ?x0 .
M1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M3
}