                 print("Count error: %@", error.description)
             }
         #endif
+
         return count
     }
 

    class func objectsFromJSON(fileName: String) -> AnyObject {
        let bundle = NSBundle(forClass: Helper.self)
        let objects = try! JSON.from(fileName, bundle: bundle)!
        return objects
    }

    class func dataStackWithModelName(modelName: String) -> DATAStack {
        let bundle = NSBundle(forClass: Helper.self)
        let dataStack = DATAStack(modelName: modelName, bundle: bundle, storeType: .SQLite)
        return dataStack
    }


        request.predicate = predicate
        request.sortDescriptors = sortDescriptors
        let objects = try! context.executeFetchRequest(request) as? [NSManagedObject] ?? [NSManagedObject]()

        return objects
    }
}
