Were M0 and M2 produced by and edited by M1
SELECT count(*) WHERE {
M0 ns:film.film.edited_by M1 .
M0 ns:film.film.produced_by|ns:film.film.production_companies M1 .
M2 ns:film.film.edited_by M1 .
M2 ns:film.film.produced_by|ns:film.film.production_companies M1
}