question: Was M0 a male person that M2 , M3 , and M4 were written by , edited by , and directed by
query: SELECT count(*) WHERE {
  M0 a ns:people.person .
  M0 ns:film.director.film M2 .
  M0 ns:film.director.film M3 .
  M0 ns:film.director.film M4 .
  M0 ns:film.editor.film M2 .
  M0 ns:film.editor.film M3 .
  M0 ns:film.editor.film M4 .
  M0 ns:film.writer.film M2 .
  M0 ns:film.writer.film M3 .
  M0 ns:film.writer.film M4 .
  M0 ns:people.person.gender ns:m.05zppz
  }