Was a costume designer that M3 was directed by and M1 was edited by influenced by M2
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x0 ns:film.director.film M3 .
?x0 ns:film.editor.film M1 .
?x0 ns:influence.influence_node.influenced_by M2
}