How to change text number to number in GH

I find that this setup seems to work well on a variety of meshes.