Tokenize @ref values in characterCount_djb