Salesforce Limitation

The Aggregate functions are not supported while executing queries on Model Store.