Implement HtmlNodesCalculator