I do not know what exactly affects it, but it is not a battle per battle stat, but one for your character possibly affected by the last few battles (maybe 10 like reliability).
If they have not fixed it yet, showing up to a battle where the enemy does not show up reduces it by one.