Added api for subscription count.