anchor.diff:      },
   
       MS = [
  -        {Pattern, [{'==', '$1', Channel}], [true]}
  +        {Pattern, [{'==', '$1', ms_channel(Channel)}], [true]}
           ||  Channel <- Channels, validate_channel_spec(Channel)
  -
       ],
   
       try
  
positive.code:             0
      end;
  
  connection_count(Node, Channel) when is_atom(Node) ->
      connection_count(Node, [Channel]);
  
  connection_count(#{name := Node}, Channel) ->
      connection_count(Node, Channel);
  
  connection_count(#partisan_peer_info{node = Node}, Channel) ->
      connection_count(Node, Channel).
  
  
  %% -----------------------------------------------------------------------------
  
negative.code: 
  validate_channel_spec(Term) ->
      error({badarg, Term}).
  
  
  %% @private
  ms_channel({monotonic, _} = Channel) ->
      {Channel};
  
  ms_channel(Channel) ->
      Channel.
  
  
  %% @private
  