Stroke length in percents - is it possible?

Hey there! Can you help me make stroke on rectangle (with rounded corners) but not all the rectangle, only part of it (for example 74%)?

Thank you very much!

no one can help me (((