const posts = await prisma.posts.findMany({ where: { userId, }, orderBy: [ { startDate: 'asc' }, ], select: { id: true, title: true, image: true, publish: true, comments: { _count: { id: true } } } });