Fortinet interview question

make get requests to API and calculate how many items satisfy these parameters