code: function (node) {
              if (isText(node)) {
                  return node.nodeValue.length;
              }
  
              if (node) {
                  return node.childNodes.length;
              }
  
              return 0;
  
          }
docs: @method nodeLength
  
  returns #text's text size or element's childNodes size
  
  @param {Node} node