Rough token count estimation using ~4 chars per token.
int roughTokenCountEstimation(String text) { return (text.length / 4).ceil(); }