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