What you are looking for is a method includeTotalCountfor the table / query object (unfortunately, it is not in the documentation, I will write an error in the product command so that it is fixed).
read , 50 (IIRC, ) , ( , ). , .
, , , : .
var table = client.getTable('tableName');
table.take(0).includeTotalCount().read().then(function (results) {
var count = results.totalCount;
new Windows.UI.Popups.MessageDialog('Total count: ' + count).showAsync();
});
, (.. ), take() skip(), includeTotalCount.