Hi , @PAuser_1-2-3
If you want to judge the list is Greater than 4000 , you may need to use the [ID] column in your SharePoint List , you can use this expression:
@greater( triggerOutputs()?['body']?['ID'] , 4000)
And if you do not want to use the [ID] column, you can not judge it in your trigger. You need to add the condition after your trigger:

/_api/web/lists/getbytitle('Your List Name')/ItemCount
body('Send_an_HTTP_request_to_SharePoint')?['d']?['ItemCount']
For more information, you can refer to :
How to Count Items in a SharePoint List with Power Automate - Power Tech Tips
If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance!
Best Regards,
Yueyun Zhang