How can I count the number of subscribers

How can I count the number of subscribers, can you help me with the complete code please?

Hi,

You can get the total count with getTotalCount()
See here