In v7, I do not believe there is. I'd create a custom query in your doc types Queries tab. Then dynamically call the query and pass your COLUMNS, WHERE, ORDER BY, etc. and ensure it has your GROUP BY statement in there. This way it still allows you to dynamically change your query if you want/need and still take advantage of the Kentico API.