can you tell me what needs to be done to make the code of my idea work?

hi. I tried to make such a system so that when an item falls into the trigger zone, it is added in the widget to a list with information about the number of these objects and type.I tried to do it, but nothing works. You can tell me what needs to be done to make everything work. Here are my blueprints