/** * 统计符合条目的数目 * * @param $table * @param null $conditions * * @return int */ public static function count($table, $conditions = null) { $table = new FTable($table); return $table->count($conditions); }