Was M2 influenced by a film producer that directed and wrote M1
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.director.film M1 .
?x0 ns:film.writer.film M1 .
M2 ns:influence.influence_node.influenced_by ?x0
}