const fs = require('fs');
const content = fs.readFileSync('./dist/assets/index-D9sWWWv_.js', 'utf8');

const target = `ye.slice(0,4).map(($,B)=>a.jsxs("div",{className:"flex justify-between items-center p-2.5 bg-[#0b1220]/80 border border-emerald-950/10 rounded-lg text-xs font-sans",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("div",{className:"p-1 bg-emerald-950/50 border border-emerald-800/30 rounded text-emerald-400 font-mono text-[9px]",children:$.code}),a.jsxs("div",{children:[a.jsx("span",{className:"font-semibold text-gray-200 block text-[11px]",children:$.profileName}),a.jsxs("span",{className:"text-[9px] text-gray-500 block truncate max-w-[150px]",children:["Oleh: ",$.agentName||"Direct"]})]})]}),a.jsxs("div",{className:"text-right",children:[a.jsxs("span",{className:"text-xs font-bold text-emerald-400 block font-mono",children:["Rp ",$.price.toLocaleString("id-ID")]}),a.jsxs("span",{className:"text-[9px] text-gray-500 font-mono block",children:[$.created_at.split(" ")[1]||""," WIB"]})]})]},B))`;

const count = content.split(target).length - 1;
console.log("Count of occurrences:", count);
