implemented stats() for rabbitmq