refactor numeric stats MR