Group by on realm database

release

#1

Dear all, How to make group by on realm database ?

example on SQLite:
SELECT COUNT(CustomerID), Country
FROM Customers
GROUP BY Country
ORDER BY COUNT(CustomerID) DESC;