Total Duplicates

Is there any way/ query to just get the total number of duplicates?
The current endpoint requirements filtering by name. Just looking for a way to automate getting the total duplicates found count.

Categories