With Mito and SxQL, we have count-dao 'model, which doesn't accept a (sxql:select …) clause.
How can we use a (select-dao 'model), our select to filter results, and count the number of rows?
For example, I'd like to count this:
(mito:select-dao 'loan
(sxql:where (:< :due-date (local-time:now))))