Did M3 and M6 influence M4 and M5 , influence a costume designer , and influence a Spanish actor
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x1 a ns:film.actor .
?x1 ns:people.person.nationality ns:m.06mkj .
M3 ns:influence.influence_node.influenced ?x0 .
M3 ns:influence.influence_node.influenced ?x1 .
M3 ns:influence.influence_node.influenced M4 .
M3 ns:influence.influence_node.influenced M5 .
M6 ns:influence.influence_node.influenced ?x0 .
M6 ns:influence.influence_node.influenced ?x1 .
M6 ns:influence.influence_node.influenced M4 .
M6 ns:influence.influence_node.influenced M5
}