How to calculate the tokens when using Cognitive Search?

When I use the option to query data from the azure cognitive search service, the usage field is empty, it does not show me how many tokens I am using, how do I know how many tokens I am using? if my query prompt is 1000 tokens, and my response is another 1000 tokens, the tokens coming from the cognitive search database are counted? are they free?