Were M2 and M3 directed by and edited by a film director that produced M1
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:film.producer.film|ns:film.production_company.films M1 .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.edited_by ?x0 .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.edited_by ?x0
}