code: @Override
      public int getRowCount() {
          String xpath = bodyTag.isPresent()
              ? "./tbody/tr"
              : "./tr";
  
          return getContext().find().elements(byInner(By.xpath(xpath))).size();
      }
docs: This will count all of the {@code<tr>} tags within the {@code<tbody>} tag if one is present,
  otherwise will count all of the {@code<tr>} tags within the table.
  
  <p>If you're modeling an unconventional html table, you're encouraged to override this
  method.