Was M0 a Spanish male film director that M4 and M5 influenced and M2 and M3 were influenced by
SELECT count(*) WHERE {
M0 a ns:film.director .
M0 ns:influence.influence_node.influenced M2 .
M0 ns:influence.influence_node.influenced M3 .
M0 ns:influence.influence_node.influenced_by M4 .
M0 ns:influence.influence_node.influenced_by M5 .
M0 ns:people.person.gender ns:m.05zppz .
M0 ns:people.person.nationality ns:m.06mkj
}