Was M2 a cinematographer that M4 married and a character that influenced M1 was influenced by
SELECT count(*) WHERE {
?x0 a ns:fictional_universe.fictional_character .
?x0 ns:influence.influence_node.influenced M1 .
FILTER ( M2 != M4 ) .
M2 a ns:film.cinematographer .
M2 ns:influence.influence_node.influenced ?x0 .
M2 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
}