add statcounter to amqp publisher