Getting number of records using API

Is it possible to know the number of records that is downloaded when using an API call?

Here is my request:[MY FORM ID]?format=json&query={"_submission_time":{"$gte":"2022-06-01"}}

What I want to do is to download all records that were submitted starting 7 days ago. The number of records could be in the hundreds or could be in the thousands.

I want to know ahead the number of records that could be downloaded before I commit to downloading the actual data.