`++messageCount > 2` would be more clear.