Was M4 written by M5 , M6 , and M7 and produced by a screenwriter that M1 , M2 , and M3 influenced
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.written_by M5 .
M4 ns:film.film.written_by M6 .
M4 ns:film.film.written_by M7
}