multiplexer: track the number of messages for each channel

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>