Connection counter for connections acquired from channels

@treeder will need to refactor this later. a bit of rush job. 

@edsrzf