i have following Code which is working fine `
someVar.getNftsByCollections(['abcs']).then((obj) => {
obj.filter(nft => nft.sold === true)
.map(nft => console.log(nft))
});
})`
and its consol me the data like this
{ name: "Common Pass"
owner: "abc1"
placeholderNft: false
position: 1509
price: 1000}
Now i have 100 of objects like that which is am consoling but now i want to find duplicates owners count so how can i extend my code .In simple words e.g. there are other records with same owner abc1 like around 12 so how can i achieve this