public static function last() { $ret = DailyCount::selection(array('@order' => 'time:desc', '@limit' => 1)); return array_shift($ret); }