title: getLastRowNum not returning correct number of rows
body: <p>I am having a small conundrum in using the getLastRowNum(). I am trying to get the number of rows with data from an Excel sheet. Supposing I have 3 rows, it should return in a print out statement stating 3 rows. My issue now is no matter how many rows I populate, it is returning me a certain fixed number. The following is excerpt of the code:</p>
  
  <pre><code>FileInputStream fis = new FileInputStream("C:\\Test Data\\Login.xlsx"); 
  XSSFWorkbook wb = new XSSFWorkbook(fis);
  XSSFSheet sheet = wb.getSheet("Login");
  System.out.println("No. of rows : " + sheet.getLastRowNum());
  </code></pre>
  
  <p>My Excel Sheet consist of the following</p>
  
  <p><a href="https://i.stack.imgur.com/7v1tm.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/7v1tm.jpg" alt="enter image description here"></a></p>
  
  <p>From the attached image, I should be getting row count of 4, but I am getting 6 instead. </p>
  
  <p>Any advice is deeply appreciated. Thank you in advance.</p>