SWITCHYARD-1694 rework message metrics calculations

https://issues.jboss.org/browse/SWITCHYARD-1694