Was M1 a art director that M3 influenced , M4 married , and M0 's producer and star was influenced by
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
FILTER ( M1 != M4 ) .
M1 a ns:film.film_art_director .
M1 ns:influence.influence_node.influenced ?x0 .
M1 ns:influence.influence_node.influenced_by M3 .
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 M4
}