Were M0 and M2 directed by and executive produced by M1
SELECT count(*) WHERE {
M0 ns:film.film.directed_by M1 .
M0 ns:film.film.executive_produced_by M1 .
M2 ns:film.film.directed_by M1 .
M2 ns:film.film.executive_produced_by M1
}