Did M2 produce a film directed by and edited by M1
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.edited_by M1 .
M2 ns:film.producer.film|ns:film.production_company.films ?x0
}