Closed thisisaaronland closed 6 years ago
var wc = 0; var t = document.getElementsByClassName("whosonfirst-dynamically-generated-post"); var l = t.length; for (var i =0; i < l; i++) { var el = t[i]; var c = parseInt(el.getAttribute("data-word-count")); if (c) { wc += c } }; wc 55984