Get ListingsCounts for a single collection. Optional filters: status, lastUpdatedAt.
export type GetCollectionListingsProps = {
collectionId: string;
status?: ListingStatus;
lastUpdatedAt?: number;
}
const listingsCounts = await assetlayer.listings.getCollectionListingsCounts({
collectionId: 'collectionId',
status: 'active'
});
type ReturnType = ListingsCounts;