It would probably be better to make the path have the appid in it so that we can let confined apps set their own and not others using the apparmor profile. So I'd suggest:
/com/canonical/Unity/Launcher/$(appid) com.canonical.Unity.Launcher.SetCounter(int count, bool visible)
Or alternatively two properties on that object, Count and CountVisible.
It would probably be better to make the path have the appid in it so that we can let confined apps set their own and not others using the apparmor profile. So I'd suggest:
/com/canonical/ Unity/Launcher/ $(appid) Unity.Launcher. SetCounter( int count, bool visible)
com.canonical.
Or alternatively two properties on that object, Count and CountVisible.