Thread-safe new message count