class ThymeleafUtil {

    public int wordsRemaining(Integer maxWordCount, String content) {
        return ofNullable(maxWordCount).map(maxWordCountValue -> maxWordCountValue - countWords(content)).orElse(0);
    }

    public  ThymeleafUtil(IExpressionContext context);

}