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