Did a film producer influenced by M4 and M5 executive produce M2 and M3 and write M1
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.producer.films_executive_produced M2 .
?x0 ns:film.producer.films_executive_produced M3 .
?x0 ns:film.writer.film M1 .
?x0 ns:influence.influence_node.influenced_by M4 .
?x0 ns:influence.influence_node.influenced_by M5
}