metrics: skip `not a number` values when computinh the sum and std_dev