Include metrics count in debug log