Was M0 executive produced by and written by M1 and M2
SELECT count(*) WHERE {
M0 ns:film.film.executive_produced_by M1 .
M0 ns:film.film.executive_produced_by M2 .
M0 ns:film.film.written_by M1 .
M0 ns:film.film.written_by M2
}