Were M4 , M6 , and M7 edited by M5 and edited by a costume designer that M1 , M2 , and M3 starred
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x0 ns:film.actor.film/ns:film.performance.film M1 .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:film.actor.film/ns:film.performance.film M3 .
M4 ns:film.film.edited_by ?x0 .
M4 ns:film.film.edited_by M5 .
M6 ns:film.film.edited_by ?x0 .
M6 ns:film.film.edited_by M5 .
M7 ns:film.film.edited_by ?x0 .
M7 ns:film.film.edited_by M5
}