The percentage of enemies killed at the end of the level is messed up I think. If you lose the level it is still close to 100% so you get a lot of experience, even if you died halfway through
Ended up beating the boss by having 100% defense and counter attack. The boss got an epic combo, but I didn't take any damage and killed it with my counter attacks.