This is my List Records action and I’ve named it as List records.

I am getting the list records as below

I wanted to have the count of data that is returned from the above query in the values.
Please suggest me on how to do that. i have tried
length(body(‘List records’)?[‘value’])
length(body('List_records')?['value'])
In the condition to check but it always returns false.
I have tried with aggregation transformation which works fine from FetchXML and does not return values in MS flow