import { COL_CUSTOMERS, COL_USER_METAS } from '@/constants';
import { pb } from '@/lib/pb';

export default async function GetActiveCount(): Promise<number> {
  const { totalItems: count } = await pb.collection(COL_USER_METAS).getList(1, 1, {
    filter: 'role = "teacher" && status = "active"',
  });
  return count;
}
