Add messageCount property