int vortex_channel_ref_count ( VortexChannel channel  ) 

Allows to get current reference counting for the channel provided.

Parameters:
channel The channel that is checked for its reference counting.
Returns:
Number of references for the channel, or -1 if it fails.