perplexity returns infinity if a token is encountered exactly zero times