I have a flow where I wanted to count how many items were returned on a get items step

length(body('Get_items')?['value'])