To count the number of rows and columns in the HTML Table object:
Store the property named: rows.length (Step #1 in
screenshot below).
Store the property named: cells.length (Step #2 in screenshot
below).
The number of columns would then be cells.length/rows.length
(Step #3 in screenshot below).
Note: on a standard web table the column header row is included
in the rows.length
