Was M2 influenced by M3 and M4 , influenced by a costume designer , and influenced by a executive producer and star of M1
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x1 ns:film.actor.film/ns:film.performance.film M1 .
?x1 ns:film.producer.films_executive_produced 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 .
M2 ns:influence.influence_node.influenced_by M4
}