This function can be used to get the number of items that the current user has subscribed to.
steam_ugc_num_subscribed_items();
Real
numSub = steam_ugc_num_subscribed_items();
The above code will store the number of subscribed items in a variable.