For some bullshit reason, the game counts failures even if you press the quick reload button after boss fights. So don't be like me and try to master the game only to get an F rank in deaths because of trash game design. If you die, load your last savefile.