I am counting number of rows in xlsx file using sheetjs. To count the number of rows I am using below script
var workbook = XLSX.readFile(\'file.xlsx\');