getRowCount(): number {
    return this._cachedRowCount;
  }
Returns the total number of rows in the data source.

If you are specifying the rowIdentities or sectionIdentities, then `getRowCount` will return the number of rows in the filtered data source.