Was M2 written by a character influenced by a film 's producer
SELECT count(*) WHERE {
?x0 a ns:fictional_universe.fictional_character .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x1 ns:film.producer.film|ns:film.production_company.films ?x2 .
?x2 a ns:film.film .
M2 ns:film.film.written_by ?x0
}