[NSManagedObject] Added method to obtain the count for a fetch request.