Did M3 influence a actor of M1 and M2 and influence a art director
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x1 ns:film.actor.film/ns:film.performance.character M1 .
?x1 ns:film.actor.film/ns:film.performance.character M2 .
M3 ns:influence.influence_node.influenced ?x0 .
M3 ns:influence.influence_node.influenced ?x1
}