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