Were M4 and M6 produced by a Swedish cinematographer that M2 and M3 were produced by and distributed by M5
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:film.producer.film|ns:film.production_company.films M3 .
?x0 ns:people.person.nationality ns:m.0d0vqn .
M4 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M5 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M6 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M5 .
M6 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}