--- title: "CountCampaignDataset" slug: "countcampaigndataset-1" updated: 2024-05-21T14:49:33Z published: 2024-05-21T14:49:33Z canonical: "docs.datajet.app/countcampaigndataset-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # CountCampaignDataset Return the number of unique IDs in the listed campaigns | Key | Value(s) | Description | | --- | --- | --- | | method | "CountCampaignDataSet" | Return the number of unique IDs in the listed campaigns | | ids[] | [ "NNNNN", "NNNNN", "NNNNN" ] | List of campaign or segment Ids. Must be integer. | ```json { "method": "CountCampaignDataSet", "ids": [ [ "10004", "10007", "10005", "10012" ] ], "project": "eyeota" } ``` ```json "method": "CountCampaignDataSet", "project": "campaign-project", "currentInstanceId": "...", "ids": [ [ "10899" ], [ "19071" ] ] } { "count": 2247420, "records": 329431601, "badRecords": 0, "subCounts": [ 5888710, 288127106 ], "runningCounts": [ 5888710, 2247420 ], "idRecords": [ [ 5914112 ], [ 329431601 ] ], "executed": true, ... } ```