Did a cinematographer that M1 , M2 , and M3 were edited by and M5 , M6 , and M7 starred write M4
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.actor.film/ns:film.performance.film M5 .
?x0 ns:film.actor.film/ns:film.performance.film M6 .
?x0 ns:film.actor.film/ns:film.performance.film M7 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.editor.film M2 .
?x0 ns:film.editor.film M3 .
?x0 ns:film.writer.film M4
}