Fix https://github.com/julianhyde/optiq/issues/131, "Add interfaces for metadata (statistics)".