Use cache for inbound and outbound message count metrics.