Was a French producer of M3 a cinematographer that M1 was influenced by and M4 married
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.producer.film|ns:film.production_company.films M3 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:people.person.nationality ns:m.0f8l9c .
?x0 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 .
FILTER ( ?x0 != M4 )
}