ibdknox/Korma — Issue #6: count(*) in composed select query fails
Author: kwelia
Created: 2011-11-03 16:59:42+00:00
State: open

I tried running the following:

```clojure
(def uri-counts (-> (select* uris
(aggregate (count :*) :cnt :uri)
(order :cnt :DESC))))
```
and I got:

count not supported on this type: Keyword
[Thrown class java.lang.UnsupportedOperationException]

I think the issue is that the count function is calling clojure.core.count instead of resolving to the appropriate aggregate function.