Did M4 influence a cinematographer of M0 , M1 , M2 , and M3 , marry M6 , and influence M5
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M0 .
?x0 ns:film.cinematographer.film M1 .
?x0 ns:film.cinematographer.film M2 .
?x0 ns:film.cinematographer.film M3 .
FILTER ( M4 != M6 ) .
M4 ns:influence.influence_node.influenced ?x0 .
M4 ns:influence.influence_node.influenced M5 .
M4 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M6
}