added logging to getSubscriberCount