Was M2 influenced by a editor , director , and producer of M1 , influenced by a costume designer , and influenced by M3
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x1 ns:film.director.film M1 .
?x1 ns:film.editor.film M1 .
?x1 ns:film.producer.film|ns:film.production_company.films 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
}