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