Added count to NSManagedObject
Changed store from NSInMemoryStoreType to NSSQLiteStoreType
Fix id
Added: sum, min, max, average operation to NSManagedObject