You could try with a virtual socket with measuring enabled? This “replaces” your original socket (move it to a zone with a name like z_donottouch, so it is kind of hidden)
I made a complete flowset plus virtual socket for this issue, you can import it right away: