question: Were M2 and M5 written by M3 , directed by a art director 's male parent , and edited by M4
query: SELECT count(*) WHERE {
  ?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x1 .
  ?x0 ns:people.person.gender ns:m.05zppz .
  ?x1 a ns:film.film_art_director .
  M2 ns:film.film.directed_by ?x0 .
  M2 ns:film.film.edited_by M4 .
  M2 ns:film.film.written_by M3 .
  M5 ns:film.film.directed_by ?x0 .
  M5 ns:film.film.edited_by M4 .
  M5 ns:film.film.written_by M3
  }