returning ints and not strings in CRUDMySQLData::countBy()