With a few tweaks you can achieve the desired results using the Duplicates and Uniques app. In the attached video link, I show a demo of how to do that.
Demo link
This community post further describes the app. Hope you find the app useful. If you have any question, you can reach us at support@kolaai.com