Was M1 a film director influenced by M3 and M4 , influenced by M5 and M6 , and influenced by a costume designer
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
M1 a ns:film.director .
M1 ns:influence.influence_node.influenced_by ?x0 .
M1 ns:influence.influence_node.influenced_by M3 .
M1 ns:influence.influence_node.influenced_by M4 .
M1 ns:influence.influence_node.influenced_by M5 .
M1 ns:influence.influence_node.influenced_by M6
}