Use db.count for the empty ledger check
Consistency update: uses `frappe.db.count` instead of `frappe.db.exists` for the empty ledger check.
Consistency update: uses `frappe.db.count` instead of `frappe.db.exists` for the empty ledger check.
Type to search updates, gigs, developers and apps.