Nice
Was just messing around with it a bit. I managed to get the counter from the ctrl/i embedded into your object and this one you can edit live and also assign to preset.
BUT I have not managed to get the new counter working yet. It is embedded into the object but not functioning.
The valuebox you used is an attribute, probably from const/i and the one I've put into it, is a parameter.
Question is how do you I get the object to use the parameter preferences instead of the attribute preferences? Have tried a few things in blind but none worked yet.

"Hacked" version:
nmpgen.axo (3.1 KB)
One other thing I have been trying to make is a ctrl/i which is midi cc assignable. But that needs to be edited in Java and is a bit more complicated from what I understand. But that would be REALLY awesome, also for this object.