Solved
Groovy Script for getting count of folders with specific name and deleting their content

As highlighted in the image , I need to write a Groovy Script to get a count of all the folder with the name "renditions" and as a secondary task, I need to delete content from all the such folders.
Any help would be greatly appreciated,
Thanks