Were M1 , M4 , and M5 produced by a cinematographer and editor of M0 and distributed by M2 and M3
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M0 .
?x0 ns:film.editor.film M0 .
M1 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M2 .
M1 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
M1 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M2 .
M4 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M5 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M2 .
M5 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}