Task: Text to Code
Input (English): Did M3 's director , cinematographer , and producer influence a actor and influence M0 , M1 , and M2
Output (English): SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M3 .
?x0 ns:film.director.film M3 .
?x0 ns:film.producer.film|ns:film.production_company.films M3 .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced M0 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x1 a ns:film.actor
}