Get count of total objects in a set

Hi,

Want to get the count of objects in a set from my java program?

could some one help me how to do this

Regards

yup

got the solution