Did a Spanish film director that produced M3 influence M1 and influence a cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:film.producer.film|ns:film.production_company.films M3 .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:people.person.nationality ns:m.06mkj .
?x1 a ns:film.cinematographer
}