ManageableTopic t = (ManageableTopic)cm.getCoreDestination(jbt); return t.subscriptionCount();
org.jboss.messaging.core.local.Topic t = (org.jboss.messaging.core.local.Topic)cm.getCoreDestination(jbt);  int count = 0; Iterator iter = t.iterator(); while (iter.hasNext()) { count++; iter.next(); } return count;
   public int subscriptionCount() throws JMSException   {      if (!started)      {         log.warn("Topic is stopped.");         return 0;      }      JBossTopic jbt = new JBossTopic(name);      ManageableTopic t = (ManageableTopic)cm.getCoreDestination(jbt);      return t.subscriptionCount();   }