Feature hasn't been suggested before.
Describe the enhancement you want to request

It does not make sense for the return type to be an array when the select is using a count. I am unsure about the technically of this problem but it would be better if the return type is:
instead of
type Result = {
count: number
}[]