title: Behaviour of Table.getNumberOfRows()
body: <p>The iText <code>Table.getNumberofRows()</code> fn returns the number of rows in a table, and generally works as expected. If the last row only contains a partial number of Cells it still counts as a row, which makes sense. However if it doesn't contain <em>any</em> cells, I don't think that's a row, so it shouldn't count. Unfortunately it does. For example, when a Table is first created, getNumRows() returns 1 rather than 0. (This is because in its constructor it (sensibly) calls an init fn which prepares an empty row.)</p>
  
  <p>Now, if you add a full line of cells to the table, getNumRows() still returns 1, so you can't tell an empty table from a valid one-liner. A workaround is to call <code>startNewRow()</code> after each line of cells is added, and handle the consequence that <code>getNumRows()</code> will be one too big. On 7.0.2, though, this workaround has started generating a warning message about <code>Last row is not completed. Table bottom border may collapse as you do not expect it</code>. It's not wrong, but it looks bad.</p>
  
  <p>Could you update iText to treat a row with no cells as no row at all?</p>