Was M1 a film director that a film 's producer influenced
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x1 a ns:film.film .
M1 a ns:film.director .
M1 ns:influence.influence_node.influenced_by ?x0
}