question: Was a actor 's parent 's parent M0 's writer
query: SELECT count(*) WHERE {
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x1 .
  ?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x2 .
  ?x2 a ns:film.actor
  }