code: @Override
      public int rowCount() {
          int result = 0;
          if (!columnList.isEmpty()) {
              // all the columns have the same number of elements, so we can check any of them
              result = columnList.get(0).size();
          }
          return result;
      }
docs: Returns the number of rows in the table