question: Was a actor that M1 was written by and M2 starred a cinematographer 's child
query: SELECT count(*) WHERE {
  ?x0 a ns:film.actor .
  ?x0 ns:film.actor.film/ns:film.performance.film M2 .
  ?x0 ns:film.writer.film M1 .
  ?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.cinematographer
  }