int myqtt_storage_sub_count ( MyQttCtx ctx,
MyQttConn conn 
)

Allows to get current number of subscriptions registered on the storage for the provided connection.

Parameters
ctxThe context where the operation takes place.
connConnection to get subscription count from.
Returns
Number of subscriptions.