question: Were M3 and M5 executive produced by M1 's female child , written by M4 , and executive produced by a cinematographer
query: SELECT count(*) WHERE {
  ?x0 ns:people.person.gender ns:m.02zsn .
  ?x0 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent M1 .
  ?x1 a ns:film.cinematographer .
  M3 ns:film.film.executive_produced_by ?x0 .
  M3 ns:film.film.executive_produced_by ?x1 .
  M3 ns:film.film.written_by M4 .
  M5 ns:film.film.executive_produced_by ?x0 .
  M5 ns:film.film.executive_produced_by ?x1 .
  M5 ns:film.film.written_by M4
  }