Were M3 , M4 , M5 , and M6 produced by a male person that edited and wrote M1
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.editor.film M1 .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.gender ns:m.05zppz .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M6 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}