[minor] import
Adding a statistics field to message data
Implementing queue statistics