/** * Count PackageTypes * by CourierId Index(es) * @param integer $intCourierId * @return int */ public static function CountByCourierId($intCourierId) { // Call PackageType::QueryCount to perform the CountByCourierId query return PackageType::QueryCount(QQ::Equal(QQN::PackageType()->CourierId, $intCourierId)); }