Okay, we looked into it more and it's not really related to Luna, but here's a compatibility patch:
1. Use this on your config:
battler.getStateCounter(stateId)
2. Use this snippet. Add it in either LunaSnippets or a new JS file.
Game_BattlerBase.prototype.stateCounters = function() {
var values = []
for (var stateId in this._stateCounter) {
values.push(this._stateCounter[stateId])
}
return values
}