Is your feature request related to a problem or challenge?
Currently, IPCWriter metrics types are u64 based but source values are based on usize so this requires redundant casting on IPCWriter.write() and ExternalSorter.spill().
Ref Discussion: #9885 (comment)
Describe the solution you'd like
Convert IPCWriter metrics types from u64 to usize
Describe alternatives you've considered
No response
Additional context
No response