Dynamically expanding message counter