I want to do something like this with Codeigniter Wanwizard Datamapper.
SELECT COUNT(amount), SUM(amount) FROM mytable
Basically I want to extract both the total amount and how many row included in a single query. But I couldn't find a way in the documentation page here http://datamapper.wanwizard.eu/ because there's select_sum() for SUM function but no select_count() for COUNT. Is there any way to do it just like in my case? Thank you.