Did M2 's producer influence M0 and M1
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:influence.influence_node.influenced M0 .
?x0 ns:influence.influence_node.influenced M1
}