Did M1 write M2 , direct M4 , write a film , and write M3
SELECT count(*) WHERE {
?x0 a ns:film.film .
M1 ns:film.director.film M4 .
M1 ns:film.writer.film ?x0 .
M1 ns:film.writer.film M2 .
M1 ns:film.writer.film M3
}