improving message count