 public class DictionaryExport : NSObject {
     var exportInfo : DictionaryExportInfo
     var content : String?
+    
+    var numberOfEntries : Int?
+    var exportDate : Date?
+    
     
     public var hasDownloaded : Bool {
         get {

                
                
                self.content = try String(contentsOfFile: unzippedFilePath, encoding: String.Encoding.utf8)
                onCompletion(self.content, nil) // Success
            }
            catch {

            }
        }).resume()
    }
    
    func extractMetadata() -> Void {
        let scanner = Scanner(string: self.content!)
        
        var numberOfEntriesResult : NSString?
        let numberOfEntriesStart = "#! entries="
        scanner.scanUpTo(numberOfEntriesStart, into: nil)
        scanner.scanLocation = scanner.scanLocation + numberOfEntriesStart.characters.count
        scanner.scanUpToCharacters(from: CharacterSet.newlines, into: &numberOfEntriesResult)
        
        var exportDateResult : NSString?
        let exportDateStart = "#! date="
        scanner.scanUpTo(exportDateStart, into: nil)
        scanner.scanLocation = scanner.scanLocation + exportDateStart.characters.count
        scanner.scanUpToCharacters(from: CharacterSet.newlines, into: &exportDateResult)
        
        self.numberOfEntries = Int(numberOfEntriesResult!.intValue)
        
        let dateFormatter = DateFormatter()
        dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ssZZZZZ"
        self.exportDate = dateFormatter.date(from: exportDateResult as! String)
    }
}
