Add message stats counter functionality to andes.