The total number of comments in the Table of Contents of a course would not update after deleting a message. This issue has now been fixed.