Measure repeats (with counters)

Sometimes published music includes "counters" above measure repeats — numbers that help the musician keep track of how many times the repeat has happened. In MNX, these numbers are encoded via "counter" on the measure-repeat object.
{
"mnx": {
"version": 1
},
"global": {
"measures": [
{
"time": {
"count": 4,
"unit": 4
}
},
{},
{},
{}
]
},
"parts": [
{
"measures": [
{
"clefs": [
{
"clef": {
"sign": "G",
"staffPosition": -2
}
}
],
"sequences": [
{
"content": [
{
"duration": {
"base": "half"
},
"notes": [
{
"pitch": {
"octave": 5,
"step": "C"
}
}
]
},
{
"duration": {
"base": "half"
},
"notes": [
{
"pitch": {
"octave": 4,
"step": "G"
}
}
]
}
]
}
]
},
{
"measureRepeat": {
"counter": {
"count": 2,
"orient": "above"
},
"number": 1
},
"sequences": [
{
"content": []
}
]
},
{
"measureRepeat": {
"counter": {
"count": 3,
"orient": "above"
},
"number": 1
},
"sequences": [
{
"content": []
}
]
},
{
"measureRepeat": {
"counter": {
"count": 4,
"orient": "above"
},
"number": 1
},
"sequences": [
{
"content": []
}
]
}
]
}
]
}