Use the request.apiToken.documentSetId when applying a selection to the doc object counts query.