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