How to calculate the tokens when using function call

  1. provide a system prompt where you can count its tokens,
  2. provide the function call that the bot doesn’t have reason to call so you can count its tokens after transformation and overhead,
  3. provide the convincing user role instruction that dumps out everything the robot has received as response.
  4. math the missing special tokens