DuyTa's picture
Upload folder using huggingface_hub
bc20498 verified
raw
history blame
155 Bytes
export default function() {
var size = 0;
this.visit(function(node) {
if (!node.length) do ++size; while (node = node.next)
});
return size;
}