Did M0 's director , star , and writer influence M1 and marry a company 's employee
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x0 ns:film.director.film M0 .
?x0 ns:film.writer.film M0 .
?x0 ns:influence.influence_node.influenced M1 .
?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 ?x1 .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company ?x2 .
?x2 a ns:business.employer .
FILTER ( ?x0 != ?x1 )
}