Were M3 and M6 edited by M4 and M5 and directed by a film producer influenced by M1 and M2
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.edited_by M4 .
M3 ns:film.film.edited_by M5 .
M6 ns:film.film.directed_by ?x0 .
M6 ns:film.film.edited_by M4 .
M6 ns:film.film.edited_by M5
}