code: func (p *pathObject) GetLimit(limit int) error {
  	it := p.buildIteratorTree()
  	it.Tagger().Add(TopResultTag)
  	p.s.limit = limit
  	p.s.count = 0
  	return p.s.runIterator(it)
  }
docs: // GetLimit is the same as All, but limited to the first N unique nodes at the end of the path, and each of their possible traversals.