Count the number of responses in an Invoke URL call

Count the number of responses in an Invoke URL call

I have a qc function that is comparing data between a report I have in my Zoho Creator app, and that of an API dataset.  I am using for each to iterate through a day's records by a unique ID (Appeal_ID) and calling the api by each f these ID's .  So far this works pretty well, but I want to find a way to make sure that the number of API responses is equal to the number of records I have from the corresponding day in the Creator app.  I have approached this by trying to create a list with the invoke url response and then use the size() function to count the elements, but I can only get "1" as a response.  Am I using this incorrectly?