Were M3 and M4 edited and written by M1 's female German producer
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M1 .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.0345h .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.edited_by ?x0 .
M4 ns:film.film.written_by ?x0
}