count(for:)
Returns a count of the objects the specified request fetches when it executes.
Declaration
nonisolated func count<T>(for request: NSFetchRequest<T>) throws -> Int where T : NSFetchRequestResultReturns a count of the objects the specified request fetches when it executes.
nonisolated func count<T>(for request: NSFetchRequest<T>) throws -> Int where T : NSFetchRequestResult