Counting the number of segments

I have a volume from which I have segmented several scattered isolated structures. These are the nuclei of a group of cells.
I need to count the number of these segments (nuclei).

Is there a function to do this?

Thank you for the kind answer

You could use Identify Islands plus Segment Statistics for that. It won’t be efficient if you have over 100 islands or so. You could write a quick python script to calculate the answer.