Dimensioning/Sorting same shapes in a list (GRASSHOPPER)


I created a design for wall mounted Mirror by using small hexagonal panels, Now I have to get the dimensions of it and the number of each type. Is there a way to list down the number of identical elements together so that I know how many types are there in total.
I have attached a photo of the same
Let me know asap

Have a look at the attachment.

SortSameType_re.gh (17.5 KB)

Thanks a lot but since I am fairly new to the software in order to fully understand the script I would need some help, I have marked what I understood as per my current knowledge of the software. Is there any tutorial explaining this kind of stuff?

Thank you once again, I’ll get started right away!