counting the pending message vs the acked