Were M3 , M4 , M5 , and M6 influenced by a writer of M0 and influenced by a Mexican actor
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x1 a ns:film.actor .
?x1 ns:people.person.nationality ns:m.0b90_r .
M3 ns:influence.influence_node.influenced_by ?x0 .
M3 ns:influence.influence_node.influenced_by ?x1 .
M4 ns:influence.influence_node.influenced_by ?x0 .
M4 ns:influence.influence_node.influenced_by ?x1 .
M5 ns:influence.influence_node.influenced_by ?x0 .
M5 ns:influence.influence_node.influenced_by ?x1 .
M6 ns:influence.influence_node.influenced_by ?x0 .
M6 ns:influence.influence_node.influenced_by ?x1
}