Did M2 , M3 , and M4 star a screenwriter and star a film director
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 a ns:film.director .
M2 ns:film.film.starring/ns:film.performance.actor ?x0 .
M2 ns:film.film.starring/ns:film.performance.actor ?x1 .
M3 ns:film.film.starring/ns:film.performance.actor ?x0 .
M3 ns:film.film.starring/ns:film.performance.actor ?x1 .
M4 ns:film.film.starring/ns:film.performance.actor ?x0 .
M4 ns:film.film.starring/ns:film.performance.actor ?x1
}