code: public void rows(int numOfRows) {
          int rows = checkRows(numOfRows, 0, 0);
          String reason = NO_ELEMENT_FOUND;
          if (rows < 0 && getElement().is().present()) {
              reason = "Element not table";
          }
          assertTrue(reason, rows >= 0);
          assertEquals("Number of rows mismatch", numOfRows, rows);
      }
docs: Asserts that the element has the expected number of rows. If the element
  isn't present or a table, this will constitute a failure, same as a
  mismatch. This information will be logged and recorded, with a screenshot
  for traceability and added debugging support.
  
  @param numOfRows the expected number of row elements of a table