Tag not monitored by Microsoft.
You can structure your query as:
GET /your-api-endpoint?filter=Status eq 'Pending'&$count=true&$apply=groupby((ManagerEmail),aggregate(Status, countdistinct as PendingCount))&$filter=PendingCount gt 25&$select=ManagerEmail