greenrobot/greenDAO — pull request #156 by alanblins (2014-11-07 15:51:52+00:00)
Title: Count function by column and Sum function

You can call function:
yourobjectDao.QueryBuilder().count(Properties.ID)
yourobjectDao.QueryBuilder().sum(Properties.SALARY)

will generate:
select COUNT(ID) from ....
select SUM(COLUMN) from ....