Were M3 and M5 produced by a British film director that M2 starred and edited by M4
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:people.person.nationality ns:m.07ssc .
M3 ns:film.film.edited_by M4 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M5 ns:film.film.edited_by M4 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}