I have a repeater on a page. And with a piece code, I managed to filter the data. But now, I want to know how many items are shown after the filter. I don’t know how to do this and couldn’t find anything in the corvid API reference that worked.
This is my filter code:
$w.onReady( function() {
$w('#dynamicDataset').onReady(async () => {
let item = await $w('#dynamicDataset').getCurrentItem();
let currentStudio = item._id;
$w("#dataset1").setFilter( wixData.filter()
.eq("studio", currentStudio)
)
})
})