Instance Property

resultCount

The number of results returned by the query. (read-only)

Declaration

var resultCount: Int { get }

Discussion

For performance reasons, you should use this method, rather than invoking count on results.