Since HTR is searched before any token, both queries we make will not contain all tokens so we should query for the total number of tokens separately.
Security Checklist
[ ] Make sure you do not include new dependencies in the project unless strictly necessary and do not include dev-dependencies as production ones. More dependencies increase the possibility of one of them being hijacked and affecting us.
Acceptance Criteria
Since HTR is searched before any token, both queries we make will not contain all tokens so we should query for the total number of tokens separately.
Security Checklist