I am trying to first see and count all of my duplicates in an index using sql api and if possible delete it. Looks like DISTINCT, COUNT is not working on my fields since all the fields has a type"text".
COUNT Error: cannot use non-grouped columns , status 400