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