Calculation of an object

I have a menu, you drag and drop objects from the menu to the layout area.

when user drags the object, how can I show that the object cost 100.00

when user drags next object I want it to add the 100.00 with this objects price of 20.00.

the objects each have their own unique id from a Instance Name.

Thanks