Getting unread message count from cache store