Glyphs.open() queestion

Hi everyone! I’m trying to use glyphs macro panel to get the quantity of glyphs of a .otf fonts. So I was trying to use Glyphs.open() and later get the info trough code, but it only works with .glyphs files, but Glyphs can open .otf files if they are open trough the app interface.
Any idea if is it possible to achieve what I want?

Best regards!

What versions do you have? It works for me in the latest cutting edge version.

Hi Georg! Hi I think I was on the last stable version. Now I’ve updated to the cutting edge, and it works. Thanks!
But for some reason my stable version wasn’t the same of the site download, and I wasn’t prompted to download it by the updater.

Best.