How to get String length #DmT#?

Hi, I’m a complete newbie to designing with Facer, although I have had experience of coding on other platforms.
Is there a way of determining the string length when using #DmT#. If I know the string length then I can vary the size of the text so it still fits on the watch face, e.g. TWENTY SEVEN is longer than TEN, so need different text sizes to stay visible.

Thanks, Mike

That’s a tough question to answer. The biggest factors are the font type and size. I had a similar issue with designing the following face. I worked several weeks with all the possible combinations of text strings to produce a clean final result:

There should simply be a LEN() function.

Failing that, there is brute force: (use at own risk)

zero one two three four five six seven eight nine
ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen
twenty thirty forty fifty

$#Dm#=0?4:$$#Dm#=1?3:$$#Dm#=2?3:$$#Dm#=3?5:$$#Dm#=4?4:$$#Dm#=5?4:$$#Dm#=6?3:$$#Dm#=7?5:$$#Dm#=8?5:$$#Dm#=9?4:$$#Dm#=10?3:$$#Dm#=11?6:$$#Dm#=12?6:$$#Dm#=13?8:$$#Dm#=14?8:$$#Dm#=15?7:$$#Dm#=16?7:$$#Dm#=17?9:$$#Dm#=18?9:$$#Dm#=19?8:$$#Dm#=20?6:$$#Dm#=21?10:$$#Dm#=22?10:$$#Dm#=23?21:$$#Dm#=24?11:$$#Dm#=25?11:$$#Dm#=26?10:$$#Dm#=27?12:$$#Dm#=28?12:$$#Dm#=29?11:$$#Dm#=30?6:$$#Dm#=31?10:$$#Dm#=32?10:$$#Dm#=33?12:$$#Dm#=34?11:$$#Dm#=35?11:$$#Dm#=36?10:$$#Dm#=37?12:$$#Dm#=38?12:$$#Dm#=39?11:$$#Dm#=40?5:$$#Dm#=41?9:$$#Dm#=42?9:$$#Dm#=43?11:$$#Dm#=44?10:$$#Dm#=45?10:$$#Dm#=46?9:$$#Dm#=47?11:$$#Dm#=48?11:$$#Dm#=49?10:$$#Dm#=50?5:$$#Dm#=51?9:$$#Dm#=52?9:$$#Dm#=53?11:$$#Dm#=54?10:$$#Dm#=55?10:$$#Dm#=56?9:$$#Dm#=57?11:$$#Dm#=58?11:$$#Dm#=59?10:$