Was M2 influenced by M3 , influenced by a costume designer of M1 , and influenced by a actor
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x1 ns:film.film_costumer_designer.costume_design_for_film M1 .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1 .
M2 ns:influence.influence_node.influenced_by M3
}