each element with class gives me numbers code example Example: javascript find total number of classes document.getElementsByClassName("ClassName").length