implemented message counter view