Weld Symbol empty macro

Hello,

I am currently working on a macro for weld symbols and I need to incorporate a code that will return a msgbox if there are no weld symbols in the drawing sheets. Can anyone please help? I have tried few codes and it did not work.

Thanks in advance.

SolidworksApi/macros