Were M3 and M4 written by and executive produced by a film producer that influenced M1 and was influenced by M2
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.written_by ?x0
}