These models seem to use sentencepiece (different from BERT which uses WordPiece) and therefore are less restricted to actual word boundaries. (For sentencepiece, a space is just like any other character - not a word boundary.) There is no way for you to know how many characters or words 512 subword tokens include. As you say the approximation is incredibly rough.