/** * Count all WeightUnits * @return int */ public static function CountAll() { // Call WeightUnit::QueryCount to perform the CountAll query return WeightUnit::QueryCount(QQ::All()); }