question: Were M1 and M5 written by a film director 's child , written by M2 and M3 , and written by M4
query: SELECT count(*) WHERE {
  ?x0 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x1 .
  ?x1 a ns:film.director .
  M1 ns:film.film.written_by ?x0 .
  M1 ns:film.film.written_by M2 .
  M1 ns:film.film.written_by M3 .
  M1 ns:film.film.written_by M4 .
  M5 ns:film.film.written_by ?x0 .
  M5 ns:film.film.written_by M2 .
  M5 ns:film.film.written_by M3 .
  M5 ns:film.film.written_by M4
  }