Was M3 produced by M4 and produced by a Swedish film producer that wrote M1
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.nationality ns:m.0d0vqn .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies M4
}