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