Split longer prompts for ChatGPT using token-counting.