$db->table('user')->where('grade', '>', 4)->count();
$db->table('user')->where('grade', '>', 4)->sum();
$db->table('user')->where('grade', '>', 4)->avg();
$db->table('user')->where('grade', '>', 4)->max();
$db->table('user')->where('grade', '>', 4)->min();