"use client";
function r(o, e) {
  const t = String(o);
  if (typeof e != "string")
    throw new TypeError("Expected character");
  let i = 0, n = t.indexOf(e);
  for (; n !== -1; )
    i++, n = t.indexOf(e, n + e.length);
  return i;
}
export {
  r as ccount
};
//# sourceMappingURL=index.esm456.js.map
