classes and indexs and arrays

By looking at the screen shot. What I’m tring to do it get the Index count and type of index. Does some one know what I need to pin it all together,

what this does it send the count and types of index to a text box on the widget. I can’t find anything on google to help with it.

You mean you want to know how many of each item type?

Yes, Type count and Type Names. I have the one called Items all setup. I just can’t figure out how to do the Array’s. Index