Was M2 influenced by M3 and influenced by a film 's Spanish director
SELECT count(*) WHERE {
?x0 ns:film.director.film ?x1 .
?x0 ns:people.person.nationality ns:m.06mkj .
?x1 a ns:film.film .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by M3
}