Did M3 marry a screenwriter 's child and influence M1 's male cinematographer
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M1 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x2 .
?x2 a ns:film.writer .
FILTER ( M3 != ?x1 ) .
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 ?x1
}