The number that is shown next to Messages in a users profile inbox represents the number of unread messages they have.