import { pb } from '@/lib/pb'; import { COL_CUSTOMERS } from '@/constants'; export async function getAllCustomersCount(): Promise { const result = await pb.collection(COL_CUSTOMERS).getList(1, 1); return result.totalItems; }