Returns the number of rows stored in the data cache. Does not include any quarantined (errored) rows. If the datasource name is not provided, the default for the given context will be used.

getCachedRowCount([datasource])