Mengapa Table.Current.Row.Length tidak berfungsi

window.onload = function(){
  var table = document.getElementById("tbl");
  console.log(table.querySelectorAll("tbody tr").length);
}
Ibrahim