code: def get_msg_count_info(self, channel=Channel.CHANNEL_CH0):
          
          msg_count_info = MsgCountInfo()
          UcanGetMsgCountInfoEx(self._handle, channel, byref(msg_count_info))
          return msg_count_info.sent_msg_count, msg_count_info.recv_msg_count
docs: Reads the message counters of the specified CAN channel.
  
          :param int channel:
              CAN channel, which is to be used (:data:`Channel.CHANNEL_CH0` or :data:`Channel.CHANNEL_CH1`).
          :return: Tuple with number of CAN messages sent and received.
          :rtype: tuple(int, int)