Were M1 and M2 edited by a art director , costume designer , and cinematographer of a film
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film ?x1 .
?x0 ns:film.film_art_director.films_art_directed ?x1 .
?x0 ns:film.film_costumer_designer.costume_design_for_film ?x1 .
?x1 a ns:film.film .
M1 ns:film.film.edited_by ?x0 .
M2 ns:film.film.edited_by ?x0
}