Hi Gal,

Please note that you do not need to keep track of the number of users subscribed to an item only for purpose of remove it when there are not any more, this is a task already performed by Lightstreamer server.

When there are no more users subscribed to a specific item the server will send an Unsubscribe (USB) message to to your adapter, and faced with this message, you can remove the item.

Hope that helps.