Were M2 and M3 influenced by a writer and director of M1 and influenced by M0 's executive producer
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x1 ns:film.director.film M1 .
?x1 ns:film.writer.film M1 .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1 .
M3 ns:influence.influence_node.influenced_by ?x0 .
M3 ns:influence.influence_node.influenced_by ?x1
}