changed count into activeSubs