'use strict';

// src/platform/token-optimizer/token-counter.ts
var countTokens = (text) => {
  if (!text) {
    return 0;
  }
  return text.split(/\s+/).filter(Boolean).length;
};

exports.countTokens = countTokens;
