Was M1 a actor that was influenced by and married M0 's producer , writer , and cinematographer
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M0 .
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x0 ns:film.writer.film M0 .
FILTER ( M1 != ?x0 ) .
M1 a ns:film.actor .
M1 ns:influence.influence_node.influenced_by ?x0 .
M1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0
}