added subscription count support