question: Was M2 directed by a cinematographer 's child and written by a producer and writer of M0
query: SELECT count(*) WHERE {
  ?x0 ns:film.producer.film|ns:film.production_company.films M0 .
  ?x0 ns:film.writer.film M0 .
  ?x1 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x2 .
  ?x2 a ns:film.cinematographer .
  M2 ns:film.film.directed_by ?x1 .
  M2 ns:film.film.written_by ?x0
  }