Did M4 direct a film directed by M2 and M3 and written by M1 and write M5
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by M2 .
?x0 ns:film.film.directed_by M3 .
?x0 ns:film.film.written_by M1 .
M4 ns:film.director.film ?x0 .
M4 ns:film.writer.film M5
}