Was a cinematographer that M0 's cinematographer was influenced by and a film director 's parent married M2
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M0 .
?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x2 .
?x2 a ns:film.director .
FILTER ( M2 != ?x1 ) .
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 ?x1
}