@staticmethod
    def custom_count():
        app = Application.instance()
        assert app is not None, 'the application object does not exist'
        proxy_cls = app.resolve_proxy_class(ColorDialog)
        if proxy_cls is not None:
            return proxy_cls.custom_count()
        return 0
Get the number of available custom colors.
dataset/ETHPy150Open nucleic/enaml/enaml/widgets/color_dialog.py/ColorDialog.custom_count