Different Results GET Reuests

At 100 per page I get 57 pages and the 58th has 35. So 5735

(at 20 per page the last page was 15 records)

Code: nodeJS

const got = require('got');

const client_id = 'testClientIDthatIhadtohand';

var counter = 0;
function fetch(p) {
    counter++;
    var url = 'https://api.twitch.tv/helix/videos?user_id=31723226&first=100';
    if (p) {
        url += '&after=' + p;
    }
    got({
        url,
        headers: {
'Client-ID': client_id
        },
responseType: 'json'
    })
    .then(resp => {
        console.log('Got', counter, resp.body.data.length, resp.body.data[0].id);
if (resp.body.pagination) {
    fetch(resp.body.pagination.cursor);
}
    })
    .catch(err => {
        console.error(err);
    });
}

fetch('');