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

const vars = ['Unp', 'Snp', 'net_profit_percent'];
vars.forEach(v => {
  let idx = 0;
  let count = 0;
  while ((idx = content.indexOf(v, idx)) !== -1) {
    count++;
    idx += v.length;
  }
  console.log(`Variable ${v}: ${count} occurrences`);
});
