Go to example tasks

Count how often each item appears across scraper runs

Merges several runs of a scraper, keeps one row per url and adds _duplicateCount, the number of other copies of that item that were removed (0 = found once), and _sourceDataset, the dataset the kept row came from. Useful to see which listings keep coming back. Run it as it is on two built-in sample datasets: 3 items had a duplicate.

Try for free
Merge, Deduplicate & Join Datasets
Merge, Deduplicate & Join Datasetsquietworkslab/merge-dedup-datasets
Sku
Name
Maker
Price
+7 fields
Text
Number
Boolean
List
Object

Input

Duplicate key fields:url
Add the duplicate count (_duplicateCount):true
Add the source dataset (_sourceDataset):true

Output fields

Sku
Name
Maker
Price
Currency
Url
Maker country
Maker support email
Maker lead time days
Source dataset
Duplicate count

How it works

Sign up on Apify or log in

The Merge, Deduplicate & Join Datasets Actor is ready to run with the inputs already set for "Count how often each item appears across scraper runs". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Count how often each item appears across scraper runs" task

The Merge, Deduplicate & Join Datasets Actor will start running based on the input automatically. You can also change all the input fields, like duplicate key fields, add the duplicate count (_duplicatecount), and more, to match your specific use case.

Receive the "Count how often each item appears across scraper runs" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as sku, name, maker, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Count how often each item appears across scraper runs" task via API.

Image

Integrate "Count how often each item appears across scraper runs" into your workflow

Connect "Count how often each item appears across scraper runs" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

In the duplicate count task, _duplicateCount on a kept row is the number of other items with the same key that were removed. An item found in three runs has 2; an item found once has 0.

The duplicate count task reads every item twice, first to count the keys and then to write the rows. If your maximum cost per run does not cover all items, the run stops at the start and charges nothing. Each item is charged once.

The Merge, Deduplicate & Join Datasets Actor charges $0.0001 per item read ($0.10 per 1,000) on the FREE tier, less with Apify Store discounts, plus Apify's Actor start event. The built-in sample is not charged per item.