I recently did a migration from M1 to M2, and with doing that, all images came along. Some products tend to have north of 10 images, and some more like 1-3.
I am trying to find a simple and fast way of getting a list of products that would say for example have more than 5 images in their image collection. I don't need to view the images or see what the simple/base/thumbnail are. I just want the total count per product.
Is there a simple SQL query or php block I could run for this?