Cocoa Core Data efficient way to count entities!

i read much about Core Data.. but what is an efficient way to make a count over an Entity-Type (like SQL can do with SELECT count(1) …). Now i just solved this task with selecting all with NSFetchedResultsController and getting the count of the NSArray! I am sure this is not the best way…

thank you

Cocoa Core Data efficient way to count entities!