thorium_node: track last received message and sent message counts

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