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