Analytics API paging object pageSize vs pageCount behavior

Just noticed that the Analytics API paging object is behaving weirdly in our ServiceNow integration. When we set pageSize to 25 and hit /api/v2/analytics/users/queues/summary, the response body has pageCount: 10 but we’re only getting 25 records in the first call, not the full dataset.

const params = {
 pageSize: 25,
 pageNumber: 1
};

Are we supposed to loop through pageCount manually or is the SDK supposed to handle aggregation? Environment: Node 18, genesys-cloud-node-sdk 2.0.