Was M3 produced by a company and edited by a director , editor , and art director of M1 and M2
SELECT count(*) WHERE {
?x0 a ns:business.employer .
?x1 ns:film.director.film M1 .
?x1 ns:film.director.film M2 .
?x1 ns:film.editor.film M1 .
?x1 ns:film.editor.film M2 .
?x1 ns:film.film_art_director.films_art_directed M1 .
?x1 ns:film.film_art_director.films_art_directed M2 .
M3 ns:film.film.edited_by ?x1 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}