Distance swum statistic uses old "swimming" (bobbing on top of water) instead of the new swimming
Replicate:
/scoreboard objectives add example minecraft.custom:minecraft.swim_one_cm
/scoreboard objectives setdisplay sidebar example
The scoreboard only increments while bobbing on top of the water instead of new swimming function.