Calculating Real Time metrics