How to delete previous queue transactions if count is more e.g 400 489 650 etc

Same you can use get queue items activity and there you can set status property
For the retriever items you can get count using count function

@Shruthika_r

Thanks