Allows to get the number of channels running the profile provided.
|connection ||The connection where the operation will be performed.|
|profile ||The profile that is being checked. Channels running this profile will be counted.|
- The number of channels running the profile or 0 if it fails or no channel is running the profile provided.